Re: Why I have to load nib file?
Re: Why I have to load nib file?
- Subject: Re: Why I have to load nib file?
- From: Agha Khan <email@hidden>
- Date: Tue, 25 Aug 2009 22:48:30 -0700
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