NSSlider, NSStepper, and NSTextfield with Bindings: how to display initial value?
NSSlider, NSStepper, and NSTextfield with Bindings: how to display initial value?
- Subject: NSSlider, NSStepper, and NSTextfield with Bindings: how to display initial value?
- From: Paul Johnson <email@hidden>
- Date: Tue, 28 May 2013 15:16:15 -0500
I have a slider, a stepper, and a textField that are synchronized using
bindings. I didn't write any code to do this, just used Xcode with its
Interface Builder. When the program starts I don't see the slider set to
the "Current" position I'd like and the textField doesn't show the
"Current" value either. Is there something I can do within Xcode or do I
need to add a line of code somewhere (in a -WindowControllerDidLoadNib:
somewhere, maybe)?
If at all possible I'd like to do everything in Xcode without writing a
line of code.
_______________________________________________
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