InstantiatableFromStoryboard
public protocol InstantiatableFromStoryboard : AnyObject
Helps to instantiate object from storyboard file.
-
Undocumented
Declaration
Swift
static var storyboardName: String { get } -
Undocumented
Declaration
Swift
static var storyboardID: String { get } -
Undocumented
Declaration
Swift
static func instantiateFromStoryboard() -> Self
-
storyboardNameDefault implementationDefault Implementation
Name of storyboard that contains this view controller. If not specified uses view controller’s class name without “ViewController” or “VC” postfix.
Declaration
Swift
static var storyboardName: String { get } -
storyboardIDDefault implementationDefault Implementation
View controller storyboard ID. By default uses view controller’s class name.
Declaration
Swift
static var storyboardID: String { get } -
instantiateFromStoryboard()Default implementationDefault Implementation
Instantiates view controller from storyboard file. By default uses view controller’s class name without “ViewController” postfix for
storyboardNameand view controller’s class name forstoryboardID. ImplementstoryboardNameif you want to secify custom storyboard name. ImplementstoryboardIDif you want to specify custom storyboard ID.Declaration
Swift
static func instantiateFromStoryboard() -> Self
InstantiatableFromStoryboard Protocol Reference