• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Toplevel Objects in NIB files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Toplevel Objects in NIB files (From: Nicholas Riley <email@hidden>)

  • Prev by Date: Disregard: Premature _NSAutoreleaseNoPool() warnings
  • Next by Date: Re: Premature _NSAutoreleaseNoPool() warnings
  • Previous by thread: Re: Toplevel Objects in NIB files
  • Next by thread: Re: Toplevel Objects in NIB files
  • Index(es):
    • Date
    • Thread