In most samples, the return value from is loadNibNamednot used, so I assume that it uses the owner argument. But how does it work and connect to the owner object? What requirements must the owner class meet in order to load the tip in this way?
The only requirements that I can guess are that
- the owner class must have an output defined on or many of the objects in the nib file
- the owner of the nib file MUST be set to the class where nib is loaded, then the owner parameter in
loadNibNamedcan be set toself - the nib file must have all the connections established at the points of sale defined in the owner class
Am I right in my assumptions or is there something else that I need to consider when using loadNibNamed?
source
share