3lvis / Form

The most flexible and powerful way to build a form on iOS

Home Page:http://hyper.no

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

appDelegate and initCoder

ehirebrandon opened this issue · comments

Everything seems to be have to work through app delegate what if I want to use View controller. I've try so many ways, I can't subclass without an error and have it running.

@ehirebrandon could you share the error with us? This should work. Are you using storyboards? There's a sample project on how to do this.

Run pod try Form on your terminal then go to the iPhone-Storyboard demo.

Hi,

Yes I am trying to use storyboard. What I try to do is subclass (let's say
like a sampleViewController that subclass from FORMViewController). Then in
my view controller I try to present the an instance of the
sampleViewController however it does not work. It seems like the only way
is to go through app delegate to present the form, which works. However I
have multiple view controller that is in an array that let me slides from
one to another. However Json error/ and other random errors come up. I'm
currently using swift and I can't understand FORMViewcontroller etc, so I
only hope to subclass from it and everything work. Can you please update
with an example that have view controller that uses it without the app
delegate. The sample for iphone-storyboard is also insufficient, because it
does not provide a view controller that present it the way most other apps
do. It's quite unconventional for anyone to just use these forms as one
single view. Can you assist?

Thank you,

brandon

On Tue, Nov 17, 2015 at 2:02 AM, Elvis Nuñez notifications@github.com
wrote:

@ehirebrandon https://github.com/ehirebrandon could you share the error
with us? This should work. Are you using storyboards? There's a sample
project on how to do this.

https://github.com/hyperoslo/Form/tree/master/iPhone-Storyboard


Reply to this email directly or view it on GitHub
https://github.com/hyperoslo/Form/issues/486#issuecomment-157291613.

@ehirebrandon Here it is the demo, there's an issue with the layout's delegate, I'm not experienced on storyboards, hopefully you'll be able to fix it :)

https://github.com/hyperoslo/Form/pull/487