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

nsarraycontroller and nsuserdefaultscontroller


  • Subject: nsarraycontroller and nsuserdefaultscontroller
  • From: Jeff Lee <email@hidden>
  • Date: Sun, 7 Oct 2007 16:59:16 -0700

I'm having some difficulties getting the values I set in a NSArrayController via setContent propogating to my NSUserDefaultsController.

I have a NSTableView bound to an NSArrayController. I have that NSArrayController's contentArray bound to a NSUserDefaultsController. All bindings are setup via IB.

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?

Thanks

- Jeff

_______________________________________________

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


  • Follow-Ups:
    • Re: nsarraycontroller and nsuserdefaultscontroller
      • From: Charles Steinman <email@hidden>
  • Prev by Date: Re: Cocoa to Tool application convertion
  • Next by Date: Individual Preference for Each Document
  • Previous by thread: Re: Snarfing Keyboard Events
  • Next by thread: Re: nsarraycontroller and nsuserdefaultscontroller
  • Index(es):
    • Date
    • Thread