newbie: nil textfield
newbie: nil textfield
- Subject: newbie: nil textfield
- From: Jorge Ramirez <email@hidden>
- Date: Fri, 14 Nov 2003 19:45:49 -0500
I have a few NSTexfields in my interface. I have connected them to my
controller class in interface builder, but i have run into a problem.
For some reason, one of the textfields is nil at execution time. I
have some code like the following...
if(textField == nil)
NSLog(@"text field is nil");
else
NSString *name = [wireTypeNameField stringValue];
When the method gets called, it prints text field is nil. I cannot
figure out how the textfield can be null if i have connected it in IB.
I have double, and triple checked the connection. If anyone has any
insight that could help me, i would really appreciate it.
_______________________________________________
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.