• 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: Problem with NSArrayController and passing data to an NSTableColumn
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with NSArrayController and passing data to an NSTableColumn


  • Subject: Re: Problem with NSArrayController and passing data to an NSTableColumn
  • From: mmalcolm crawford <email@hidden>
  • Date: Mon, 22 Mar 2004 00:07:15 -0800

On Mar 21, 2004, at 11:53 PM, Christoffer Lerno wrote:

I hooked up a NSArrayController to a class with a method passing an NSMutableArray through the normal accessor method (valueForKey),

valueForKey is *not* the "normal accessor method". You should name accessor methods as required by the NSKeyValueCoding protocol and described here:
<http://developer.apple.com/documentation/Cocoa/Conceptual/ KeyValueCoding/index.html>

Any pointers or examples other than ControllerPlay example which seems to do this in a quite different way.

<http://homepage.mac.com/mmalc/CocoaExamples/controllers.html>

mmalc
_______________________________________________
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: 
 >Problem with NSArrayController and passing data to an NSTableColumn (From: Christoffer Lerno <email@hidden>)

  • Prev by Date: Re: Working with ZIP files (in object-oriented way)
  • Next by Date: Re: [Q] How to detect missing storage allocation?
  • Previous by thread: Problem with NSArrayController and passing data to an NSTableColumn
  • Next by thread: Re: Working with ZIP files
  • Index(es):
    • Date
    • Thread