Re: newbie question IB/Cocoa
Re: newbie question IB/Cocoa
- Subject: Re: newbie question IB/Cocoa
- From: Lachlan Cotter <email@hidden>
- Date: Tue, 4 Oct 2005 12:45:29 +1000
One approach is to implement awakeFromNib in the window controller
and then use that method to call whatever code to initialise the text
field. awakeFromNib is called by the framework after the nib file has
been unpacked.
file:///Developer/ADC Reference Library/documentation/Cocoa/
Reference/ApplicationKit/ObjC_classic/Protocols/NSNibAwaking.html
Cheers,
Lach
Hello,
I have an NSStepper in IB, and a text field beside it. The text
field is set to get its int value from the stepper. In my program
I set the min and max and current values. This all works, except
that when the window first appears, there is no value visible in
the text field. Once I click on the stepper's arrows then the
numbers show up as they should.
What do I need to do to display that initial value?
Thanks
Bob
_______________________________________________
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