init(fileNamed:)
Initializes a reference node from a file in the app’s main bundle.
Declaration
init(fileNamed fileName: String?)Parameters
- fileName:
The name of a file stored in the app’s main bundle.
Return Value
A newly initialized reference node.
Discussion
This initializer is for loading files that reside inside of the app bundle.