NibViewController
open class NibViewController : UIViewController
A view controller that can be initialized with a specified nib name or a nib named the same as its class name.
The bundle for the nib is found by the bundle(forFileName:) extension method of Bundle.
-
Undocumented
Declaration
Swift
open class var nibName: String { get } -
Undocumented
Declaration
Swift
override open func viewDidLoad() -
Method called for setting up the view
Declaration
Swift
open func setup() -
Returns a newly initialized nib view controller with the nib file named the same as its class name in the bundle retruned by the
bundle(forFileName:)extension method ofBundle.A subclass can implement a superclass designated initializer as a subclass convenience initializer as stated in the Automatic Initializer Inheritance of the Swift Language Guide
See also
Automatic Initializer InheritanceDeclaration
Swift
public init()Return Value
A newly initialized
NibViewControllerobject. -
Returns a newly initialized nib view controller with the specified nib file name in the bundle retruned by the
bundle(forFileName:)extension method ofBundle.Declaration
Swift
public init(nibName: String)Parameters
nibNameThe name of the nib file.
Return Value
A newly initialized
NibViewControllerobject. -
Undocumented
Declaration
Swift
override public init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) -
Undocumented
Declaration
Swift
public required init?(coder: NSCoder)
View on GitHub
NibViewController Class Reference