• 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: Scott Anguish <email@hidden>
  • Date: Sun, 9 Nov 2003 20:34:18 -0500

On Nov 9, 2003, at 7:45 PM, Aaron Patterson wrote:

Hi, I've been experimenting with NSArrayController. I created an
NSArrayController that drives a table view widget. My problem is that I can't
seem to figure out how to prepopulate the NSArrayController with default
records to be displayed. Can anyone point me to some sample code, or online
documentation? I've scoured google, and found nothing. Any help would be
appreciated. Thanks!


Where are you getting the data from for the array controller?

if you've bound contentArray to a value, then you can just add items to that array...
_______________________________________________
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: Aaron Patterson <email@hidden>
References: 
 >NSArrayController population (From: Aaron Patterson <email@hidden>)

  • Prev by Date: Re: NSValue, Drag & Drop
  • Next by Date: Re: if ([[NSUserDefaults preferences] check box]==true) ?
  • Previous by thread: NSArrayController population
  • Next by thread: Re: NSArrayController population
  • Index(es):
    • Date
    • Thread