Why I have to load nib file?
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