• 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: Who Calls Accessors in Bookmarks?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Who Calls Accessors in Bookmarks?
      • From: Gordon Apple <email@hidden>
References: 
 >Who Calls Accessors in Bookmarks? (From: Gordon Apple <email@hidden>)

  • Prev by Date: Re: Who Calls Accessors in Bookmarks?
  • Next by Date: How to programatically close a user opened NSPopUpButton...
  • Previous by thread: Re: Who Calls Accessors in Bookmarks?
  • Next by thread: Re: Who Calls Accessors in Bookmarks?
  • Index(es):
    • Date
    • Thread