Skip to content
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.

How do I init a subclass of FormViewController #45

Closed
steffimueller opened this issue May 11, 2015 · 0 comments
Closed

How do I init a subclass of FormViewController #45

steffimueller opened this issue May 11, 2015 · 0 comments

Comments

@steffimueller
Copy link

I have a subclass SettingController: FormViewController. I do not use a Storyboard or interfacebuilder.

How can I init the subclass in code?

I tried

init() {
    super.init(style: UITableViewStyle.Grouped)
    self.form = getForm()
}

but this raised the error:

fatal error: use of unimplemented initializer 'init(nibName:bundle:)' for class 'Test.SettingController'
@ortuman ortuman closed this as completed May 23, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants