• 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 and nsuserdefaultscontroller
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nsarraycontroller and nsuserdefaultscontroller


  • Subject: Re: nsarraycontroller and nsuserdefaultscontroller
  • From: Jeff Lee <email@hidden>
  • Date: Sun, 7 Oct 2007 21:46:12 -0700

Thanks for the reply. Yeah, I switched to using addObjects instead and things now work correctly. Thanks!

I still don't quite understand why setContent is not what I wanted though? Do you have any idea why setContent wouldn't work?

- Jeff

On Oct 7, 2007, at 6:59 PM, Charles Steinman wrote:

--- Jeff Lee <email@hidden> wrote:

Things seem to work fine and dandy if I add rows to
the NSTableView
via NSArrayController's insert action: the new row
gets saved to
defaults just fine.  If, however, I try to set the
contents of the
NSTableView all at once via NSArrayController's
setContent, nothing
gets saved to defaults.  Am I missing a step
somewhere?

Take a look at the documentation for setContent:. I don't think that's what you want.

Cheers,
Chuck


______________________________________________________________________ ______________
Tonight's top picks. What will you watch tonight? Preview the hottest shows on Yahoo! TV.
http://tv.yahoo.com/



_______________________________________________

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


References: 
 >Re: nsarraycontroller and nsuserdefaultscontroller (From: Charles Steinman <email@hidden>)

  • Prev by Date: NSTreeController -removeObjectsAtArrangedObjectIndexPath:
  • Next by Date: Re: detect button selection in NSMatrix
  • Previous by thread: Re: nsarraycontroller and nsuserdefaultscontroller
  • Next by thread: Individual Preference for Each Document
  • Index(es):
    • Date
    • Thread