Re: What is Object Class Name used for in bindings?
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