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

Using the 'Done' and 'Cancel' Buttons with a Storyboard? #35

Closed
pbtura opened this issue May 20, 2014 · 1 comment
Closed

Using the 'Done' and 'Cancel' Buttons with a Storyboard? #35

pbtura opened this issue May 20, 2014 · 1 comment

Comments

@pbtura
Copy link

pbtura commented May 20, 2014

This library looks fantastic so far but I'm having trouble figuring out how to add a form to an existing application. The flow I want is user taps a control -> Form is displayed in a Modal dialog with the cancel and done buttons displayed. Since the segue from the main screen to the form dialog is defined in the storyboard, there is no 'hook' where I can manually inititalize the NavigationController class. The 'init' methods of the controller classes never get called when using a storyboard, so how do I set up my form?

@mtnbarreto
Copy link
Member

@pbtura I think you can use initWithCoder, awakeFroNib or any custom method invoked from prepareForSegue.

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