.
1)
A. ?
? , nib? , - , initFromNib: on.
AClassName *theOwner = [[AClassName alloc] initFromNib:@"nibfile"];
nib - , , . , . , , . , . ( nib) , . nib, , , .
. ?
, , , , , . - , . NSView, , , (, NSView NSResponder - ).
nib, . Cocoa Mac, , . iPhone , , ( ) . nib.
. ?
, ? - . . . , . ", , TMI", - , , TMI. .
Interface Builder . UIApplication , , UIApplicationDelegate. , applicationDidFinishLaunching:, UIApplication .
. ?
Apple Framework , NSView, NSWindow, NSTableView , . , , Apple, - , main.m.
int main(int argc, char *argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
int retVal = UIApplicationMain(argc, argv, nil, nil);
[pool release];
return retVal;
}
UIApplicationMain (argc, argc, nil, nil) , . nib, UIApplication nib. . UIApplication ( nib) , MainWindow iPhone UIApplicationDelegate , .
, 1). , , , . , : , MainWindow.nib, nib, .