Re: [Pyobjc-dev] NibLoader.py: parsing nibs at runtime
Brought to you by:
ronaldoussoren
From: <bb...@ma...> - 2002-11-18 16:16:31
|
On Sunday, November 17, 2002, at 02:15 AM, Ronald Oussoren wrote: > Is this documented somewhere. I knew that the NSNibLoader class does > something like this, but I didn't find information about it in the > documentation at the time (early this summer, when Jack surprised me > by using outlets when I was sure I hadn't added support for them yet) Have a look at: file://localhost/Developer/Documentation/Cocoa/TasksAndConcepts/ ProgrammingTopics/LoadingResources/index.html Specifically, at 'Nib Connectors'. The last paragraph: NSNibOutletConnector class manages an outlet connection in Interface Builder. The label is of the form "value". If the source contains a method of the form setValue: , then that method is called with the destination as the argument. Otherwise, if the label is the name of an instance variable in the source, then that instance variable is set to the destination. Also, this is useful to gain a quick understanding of File's Owner and First Responder: file://localhost/Developer/Documentation/Cocoa/TasksAndConcepts/ ProgrammingTopics/LoadingResources/Concepts/SpecialElements.html |