A block that you use to handle the custom creation of controller objects from your storyboard file.
- macOS 10.15+
The coder object containing the storyboard data to use when configuring the window controller.
Use your block to construct a window or view controller using a custom initialization method. Your custom method must accept an
NSCoder object as one of its parameters, and it may include other parameters that you need to initialize the contents of the object. The implementation of your method must call the inherited
init method at some point during its execution. Not doing so is a programmer error.