• 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
NSUserDefaultsController with an NSObjectArray controller as one of it's keys
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSUserDefaultsController with an NSObjectArray controller as one of it's keys


  • Subject: NSUserDefaultsController with an NSObjectArray controller as one of it's keys
  • From: John Spicer <email@hidden>
  • Date: Tue, 16 Nov 2004 17:37:29 -0600

I've got the above with the defaults controller having a key that's an array. This array is tied to a list for one of it's keys, and two other keys are attached to NSStepper objects. (I'm using bindings).

There are also two NSTextField's that take their value from the NSStepper.

Initial values are being set from the prefs (some names for the list, and zero values for the two NSSteppers).

The data loads OK, fills the list, sets the NSSteppers to zero values, and thus the NSTextField's are too.

But if I change the initial values (using the NSStepper's) and then click on another item in the list, the values for that item in the list are not loaded into the NSTextFields. You can't really run through the debugger to find out what's going on with the bindings, so I'm at a loss to figure out what's going on.

The NSSteppers are using "selection" and not arrangedObjects.

Any ideas?

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSUserDefaultsController with an NSObjectArray controller as one of it's keys
      • From: Scott Anguish <email@hidden>
  • Prev by Date: Re: NSTextView cursor display problems
  • Next by Date: Re: the image not the icon
  • Previous by thread: Re: NSTextView cursor display problems
  • Next by thread: Re: NSUserDefaultsController with an NSObjectArray controller as one of it's keys
  • Index(es):
    • Date
    • Thread