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

Getting started crash fix #9

Merged
merged 4 commits into from
Nov 4, 2022
Merged

Getting started crash fix #9

merged 4 commits into from
Nov 4, 2022

Conversation

maciej-adamczyk
Copy link
Contributor

In code race condition appears and is affecting loading data on fresh application and causing crash. To fix it the implementation is prepared, it delays data fetch until the data is loaded properly.


}

func didPreloadData(windowScene: UIWindowScene) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Smallest of requests, but can this method be renamed to better specify its purpose in displaying/building the UI?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure thing, is setupView(with windowScene: UIWindowScene) ok for you?

@CraigLn
Copy link
Contributor

CraigLn commented Nov 2, 2022

Also make sure to coordinate with @kazydek to have the Getting Started code samples updated to reflect these changes.

@maciej-adamczyk maciej-adamczyk merged commit c98323c into master Nov 4, 2022
@maciej-adamczyk maciej-adamczyk deleted the UI-1538 branch November 4, 2022 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants