• 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: NSArrayController population
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSArrayController population


  • Subject: Re: NSArrayController population
  • From: mmalcolm crawford <email@hidden>
  • Date: Sun, 9 Nov 2003 18:42:59 -0800

On Nov 9, 2003, at 6:17 PM, Aaron Patterson wrote:

Right now, contentArray for the NSArrayController isn't bound to anything. I'm
having a tough time figuring out how to bind anything to the contentArray. What
kind of objects can I bind to it? The drop down only lets me choose from
"Shared User Defaults", and "File's Owner".

In many cases you'll bind to File's Owner. You must then bind to a variable in that object which is either an array or which may be accessed as an array (for which you have provided the array accessors).

Please pardon my ignorance, I'm very new at Cocoa dev. I will happily RTFM if
someone can point me to documentation on dealing with controllers.

<http://developer.apple.com/documentation/Cocoa/Conceptual/ ControllerLayer/index.html>

The controller layer provides a layer of abstraction above the already fairly well-abstracted Cocoa frameworks. It is not yet clear how readily comprehensible this matter will be to novices. My gut feeling (which I'm certainly willing to amend) is that, attractive though this technology is, you would better served by getting to grips first with "classic" Cocoa first, then progressing on to controllers later. There is certainly much more material available to help newcomers learn classic Cocoa...

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.

  • Follow-Ups:
    • Re: NSArrayController population
      • From: Aubrey <email@hidden>
    • Re: NSArrayController population
      • From: Aaron Patterson <email@hidden>
References: 
 >NSArrayController population (From: Aaron Patterson <email@hidden>)
 >Re: NSArrayController population (From: Scott Anguish <email@hidden>)
 >Re: NSArrayController population (From: Aaron Patterson <email@hidden>)

  • Prev by Date: Re: NSKeyedArchiver, XML, and nibs
  • Next by Date: drag and drop in same app
  • Previous by thread: Re: NSArrayController population
  • Next by thread: Re: NSArrayController population
  • Index(es):
    • Date
    • Thread