Re: Controller and NIB
Re: Controller and NIB
- Subject: Re: Controller and NIB
- From: John Joyce <email@hidden>
- Date: Tue, 28 Oct 2008 22:47:06 -0500
Make sure you're spelling the method signature 100% correctly.
I myself have made a minor typo in a method (many times, who hasn't?)
and then spent the next 20 minutes or longer bashing my head looking
for my mistake.
Spelling counts 100%
Capitalization ( my mistake has often been NIB instead of Nib )
always check the return type and argument type
If any of these are wrong, but syntax is correct, the compiler will
compile and run without complaint.
make sure you've got ....
-(void)awakeFromNib
{
// your code here, such as...
NSLog(@"awake from Nib");
}
_______________________________________________
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