Re: Who Calls Accessors in Bookmarks?
Re: Who Calls Accessors in Bookmarks?
- Subject: Re: Who Calls Accessors in Bookmarks?
- From: mmalc crawford <email@hidden>
- Date: Thu, 30 Aug 2007 15:49:58 -0700
On Aug 30, 2007, at 3:09 PM, Gordon Apple wrote:
I've been studying the Bookmarks example and trying to lift code
for
Drag and Drop in tables. What I don't understand is why the
document has a
set of name-specific accessors for the array. My code doesn't seem
to need
such.
<http://developer.apple.com/documentation/Cocoa/Conceptual/KeyValueCoding/Concepts/AccessorConventions.html
>
Furthermore, I don't understand how these accessors are getting
called
when "Add" and "Remove" buttons are clicked (yes, they trip
breakpoints)
since these are connected to the controller add/remove and I can't
find any
code or bindings that call the above named accessors.
The controller is managing the document's array. Why wouldn't it use
those methods?
mmalc
_______________________________________________
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