Re: initilalization of an IBOutlet object
Re: initilalization of an IBOutlet object
- Subject: Re: initilalization of an IBOutlet object
- From: "Michael Novak" <email@hidden>
- Date: Fri, 18 May 2007 13:38:55 -0400
or...
- (void)windowControllerDidLoadNib:(NSWindowController *) aController
{
[super windowControllerDidLoadNib:aController];
// Add any code here that needs to be executed once the
windowController has loaded the document's window.
[currentTrackField setStringValue:@"None"];
}
On 5/18/07, Shawn Erickson <email@hidden> wrote:
On 5/18/07, julien ricard <email@hidden> wrote:
> hello,
>
> I would like to initialize a NSTextfield outlet using some string
> (that will be set dynamically). I tried the init function shown below
> with no success. Anybody can help or give pointers to help?
>
> - (id)init
> {
> [super init];
> [currentTrackField setStringValue:@"None"];
>
> return self;
> }
Review NSNibAwaking...
<http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Protocols/NSNibAwaking_Protocol/index.html>
-Shawn
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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