• 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: What is Object Class Name used for in bindings?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is Object Class Name used for in bindings?


  • Subject: Re: What is Object Class Name used for in bindings?
  • From: John W Noerenberg II <email@hidden>
  • Date: Wed, 31 Oct 2007 18:26:08 -0700

At 8:02 AM -0700 10/7/07, mmalc crawford wrote:
On Oct 7, 2007, at 1:26 AM, Bob Ueland wrote:

Keary Suska wrote:
Look in the API docs--which class defines and implements -objectClass? What is it for?
Thanks for the reply Keary. I've looked up the -objectClass method in API. It's NSObjectController class that implements it. What it is used for is harder to tell,


As the documentation states, see also newObject.

There are useful comments in the NSObjectController Class Reference Overview. The Object Class Name specifies the content object the controller will manage for view classes that want access to the content object. The name is used by the controller to invoke the key-value methods for the content object. In the case of a NSArrayController, the Object Class Name specifies the kind of objects in the array the controller manages.


There is more to this than these brief comments, but this should help set you on the path to understanding. :-)
--


john noerenberg
  ----------------------------------------------------------------------
  The Constitution of the United States is a law for rulers and people
  equally in war and in peace, and covers with the shield of its
  protection all classes of men, at all times, and under all
  circumstances.
  -- U.S. Supreme Court, Ex Parte Milligan, 71 U.S. 2, 120-121 (1866)
  ----------------------------------------------------------------------
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: What is Object Class Name used for in bindings? (From: Bob Ueland <email@hidden>)
 >Re: What is Object Class Name used for in bindings? (From: mmalc crawford <email@hidden>)

  • Prev by Date: Re: [Moderator] Leopard documentation update now available online
  • Next by Date: Re: [Moderator] Leopard documentation update now available online
  • Previous by thread: Re: What is Object Class Name used for in bindings?
  • Next by thread: Re: What is Object Class Name used for in bindings?
  • Index(es):
    • Date
    • Thread