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

@Published properties playground "viewDidLoad" not called. #10

Closed
dkulundzic opened this issue Jan 14, 2020 · 1 comment
Closed

@Published properties playground "viewDidLoad" not called. #10

dkulundzic opened this issue Jan 14, 2020 · 1 comment

Comments

@dkulundzic
Copy link

dkulundzic commented Jan 14, 2020

Hey there!

The playground section titled @published properties has an issue where viewDidLoad's not called at all - due to FormViewController's view not being accessed at any time. As a consequence, the subscription's not set-up and the example does not work.

This can be easily solved by adding formViewController.loadViewIfNeeded() after let formViewController = FormViewController(nibName: nil, bundle: nil).

@dkulundzic dkulundzic changed the title @Published properties playground viewDidLoad not called. @Published properties playground "viewDidLoad" not called. Jan 14, 2020
@AvdLee
Copy link
Owner

AvdLee commented Mar 10, 2020

This should be fixed now!

@AvdLee AvdLee closed this as completed Mar 10, 2020
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

No branches or pull requests

2 participants