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
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).
The text was updated successfully, but these errors were encountered:
dkulundzic
changed the title
@Published properties playground viewDidLoad not called.
@Published properties playground "viewDidLoad" not called.
Jan 14, 2020
Hey there!
The playground section titled @published properties has an issue where
viewDidLoad
's not called at all - due toFormViewController
'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()
afterlet formViewController = FormViewController(nibName: nil, bundle: nil)
.The text was updated successfully, but these errors were encountered: