Re: nsarraycontroller and nsuserdefaultscontroller
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