Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FeedParser(URL: url) unexpectedly fetches data for url upfront causing UI hang #45

Closed
bhlvoong opened this issue Jan 11, 2018 · 2 comments
Assignees
Labels

Comments

@bhlvoong
Copy link

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.

@BhavinBhadani
Copy link

Right .. same issue here, it will take lots of time

@nmdias
Copy link
Owner

nmdias commented Jun 8, 2018

Hi @bhlvoong and @BhavinBhadani,

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.

Thank you for reporting the issue

Cheers

@nmdias nmdias added this to the 7.1.1 milestone Jun 8, 2018
@nmdias nmdias added bug and removed enhancement labels Jun 8, 2018
@nmdias nmdias self-assigned this Jun 8, 2018
@nmdias nmdias modified the milestones: 7.1.1, 7.1.2 Jun 8, 2018
@nmdias 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
@nmdias nmdias closed this as completed Jun 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants