You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not exactly sure the reasoning for the upfront fetching of the data found at "url". Most users, like myself, probably assume that parseAsync performs the fetch and parsing together.
The text was updated successfully, but these errors were encountered:
I believe it's because its invoking 'Data(contentsOf: URL)' right after providing FeedParser with a URL. Sorry for taking so long. I will try and address this issue in the next couple of days.
nmdias
changed the title
FeedParser(URL: url) unexpectedly fetches data for url causing UI hang
FeedParser(URL: url) unexpectedly fetches data for url upfront causing UI hang
Jun 10, 2018
I'm not exactly sure the reasoning for the upfront fetching of the data found at "url". Most users, like myself, probably assume that parseAsync performs the fetch and parsing together.
The text was updated successfully, but these errors were encountered: