Re: Toplevel Objects in NIB files
Re: Toplevel Objects in NIB files
- Subject: Re: Toplevel Objects in NIB files
- From: Sherm Pendley <email@hidden>
- Date: Tue, 2 Apr 2002 22:23:18 -0500
On Tuesday, April 2, 2002, at 09:08 PM, Nicholas Riley wrote:
On Tue, Apr 02, 2002 at 08:26:52PM -0500, Sherm Pendley wrote:
FWIW, I don't recall seeing any really good documentation about this -
The behavior you're seeing - where a method is used, then if it
doesn't respond, an instance variable is used - is the result of
key-value coding.
My statement about the documentation was imprecise. You're right, the
key-value coding pattern is pretty well documented.
The use of the key-value coding pattern by NSNibOutletConnector, on the
other hand, is not very well documented that I've been able to find. I
was only able to figure it out by logging calls to
"respondsToSelector:", and noting that calls to "setFoo:" were being
made for each outlet when a NIB is loaded.
Not that I'm in a position to criticize Apple's documentation - the
documentation for my own project is even more sparse... :-(
sherm--
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.