• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Controller and NIB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Message Forwarding Overhead / Performance
  • Next by Date: Re: ASL & Unicode in Xcode's Console
  • Previous by thread: Re: Controller and NIB
  • Next by thread: Getting available free disk space on disk image
  • Index(es):
    • Date
    • Thread