Monday, 15 August 2011

ios - Why app delegate class cannot be initialized? -



ios - Why app delegate class cannot be initialized? -

why dont alloc , init appdelegate class initialize other view controller classes? beginner in ios programming .please help

we don't allocate our app delegates because scheme us. please take @ main.m class xcode project:

// // main.m // #import <uikit/uikit.h> #import "appdelegate.h" int main(int argc, char * argv[]) { @autoreleasepool { homecoming uiapplicationmain(argc, argv, nil, nsstringfromclass([appdelegate class])); } }

ios oop object uiviewcontroller appdelegate

No comments:

Post a Comment