init(nibData:bundle:)
Initializes an instance with nib data and specified bundle for locating resources.
Declaration
init(nibData: Data, bundle: Bundle?)Parameters
- nibData:
The nib data.
- bundle:
The bundle for locating resources. If
nil, the main application bundle is used.
Return Value
The initialized NSNib object or nil if there were errors during initialization.