• 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
Why I have to load nib file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why I have to load nib file?


  • Subject: Why I have to load nib file?
  • From: Agha Khan <email@hidden>
  • Date: Tue, 25 Aug 2009 21:41:33 -0700

HI:
Reading iPhone Developer's Cookbook I realized we do not need a nib file.
The author was developing all applications without nib files.
It worked fine with OS 2.2.
Toady I complied his first program and got this error message.
2009-08-25 21:32:56.428 HelloWorld[2770:20b] Failed to load NSMainNibFile //MainWindow.


But why? We shouldn't get this message. How can we get rid of this message.

int main(int argc, char *argv[]) {

NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
int retVal = UIApplicationMain(argc, argv, nil, @"SomeAppDelegate");
[pool release];
return retVal;
}


Best regards
Agha

_______________________________________________

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


  • Follow-Ups:
    • Re: Why I have to load nib file?
      • From: Kyle Sluder <email@hidden>
    • Re: Why I have to load nib file?
      • From: Roland King <email@hidden>
  • Prev by Date: Re: How is "Open Recent >" identified and populated?
  • Next by Date: Re: Why I have to load nib file?
  • Previous by thread: Re: QuickTime Animation Rendering
  • Next by thread: Re: Why I have to load nib file?
  • Index(es):
    • Date
    • Thread