-
-
Notifications
You must be signed in to change notification settings - Fork 951
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
initWithCoder support #32
Comments
Hey @wefish , you can extend
In case you don't want to extend I think you can use this property either after the class initialization or from Your I've removed Let me know if this helps. |
Thanks Martin, with new initializer initWithCoder all is working ok. this is my actual code:
form sections and rows are added on "viewDidLoad". Thank you!! |
I'm using segues on my project. Navigation is performed using code like
And the data to be edited is asigned to destination view controller on the
prepareForSegue
methodThe destination ViewController is initialized using "initWithCoder" and form structure is created on the "viewDidLoad" (Because data property is assigned after initialization).
With te "1.0.0" version of XLForm I used a "trick" like this on destination ViewController:
With the actual git XLForm version this code is not working anymore: form appears empty...
¿What's the correct way to use XLForm with storyboard & segues?
The text was updated successfully, but these errors were encountered: