Lost IBOutlet.
Lost IBOutlet.
- Subject: Lost IBOutlet.
- From: Hiro Fujimoto <email@hidden>
- Date: Tue, 6 Apr 2004 08:32:13 +0900
Hello,
I got a mysterious problem in my project. I made a controller object on
interface-
builder and generate its source skeleton. It has some NSTextField
outlets on dialog.
But Icouldn't set a string value on it, so I write following code.
- (void) awakeFromNib {
NSLog(@"the textfield is x", textField);
}
This code output 'the textfield is 00000000' !!
Did I lose the outlet before awakeFromNib ? How ? Why ?
Of course, Other outlet is exist and has valid address. And I confirmed
the connection
between the controller and textField over and over.
Anybody knows 'bout it ?
------------------------------------------------------------------------
---------
hiro FUJIMOTO - developer in Japan.
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.