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

Re: Why I have to load nib file?


  • Subject: Re: Why I have to load nib file?
  • From: simone gabbriellini <email@hidden>
  • Date: Wed, 26 Aug 2009 09:39:20 +0200

Hi,
Try to look at the info.plist file, there should be a link to the nib file...


Simone

Sent from my iPhone

On 26/ago/2009, at 07.48, Agha Khan <email@hidden> wrote:

Dear Roland King:
I admit I am new to iPhone and did read that book. which I mentioned.
In future I will try not to ask before googling.
Best regards
Agha

On Aug 25, 2009, at 9:51 PM, Roland King wrote:

Do you ever try reading any documentation before you post your random questions to the list?

go read this

http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIKitFunctionReference/Reference/reference.html#//apple_ref/c/func/UIApplicationMain

and that

http://developer.apple.com/iphone/library/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/ApplicationEnvironment/ApplicationEnvironment.html#//apple_ref/doc/uid/TP40007072-CH7

Agha Khan wrote:
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

_______________________________________________

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
_______________________________________________

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


References: 
 >Why I have to load nib file? (From: Agha Khan <email@hidden>)
 >Re: Why I have to load nib file? (From: Roland King <email@hidden>)
 >Re: Why I have to load nib file? (From: Agha Khan <email@hidden>)

  • Prev by Date: _subtreeDescription: What do the ampersands mean?
  • Next by Date: NSTableView drag from Finder Problem
  • Previous by thread: Re: Why I have to load nib file?
  • Next by thread: Re: Why I have to load nib file?
  • Index(es):
    • Date
    • Thread