• 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
binding of NSTextField and NSStepper
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

binding of NSTextField and NSStepper


  • Subject: binding of NSTextField and NSStepper
  • From: Mike Abdullah <email@hidden>
  • Date: Sat, 25 Feb 2006 18:44:36 +0000

I have in my app's preferences window an NSTextField and a NSStepper. Now, I am trying to get it so that they set a value in the user defaults that other parts of my app can later use.

I've got the stepper to bind nicely, whereby it starts with a value of 1 and the user can change it. However, whenever I launch my app without an existing value stored in the plist file, I cannot persuade it to display anything. The field is stubbornly blank. However, if I click on the stepper to change it's value, then the field will update accordingly, and after that, everything works perfectly.

What am I doing wrong?

Mike.
_______________________________________________
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


  • Prev by Date: Re: copying files with admin privileges
  • Next by Date: Re: iTunes like toolbar
  • Previous by thread: Fwd: iTunes like toolbar
  • Next by thread: NSTableview & Core Data
  • Index(es):
    • Date
    • Thread