dmitrynikolaev
dmitrynikolaev

Reputation: 9152

iOS Storyboard app + AppDelegate

Can't get where pointed out in configuration files that my app delegate is AppDelegate.h ? Or maybe this name used by default always ?

Upvotes: 0

Views: 178

Answers (2)

Firoze Lafeer
Firoze Lafeer

Reputation: 17143

If you look in main.m, the fourth parameter to UIApplicationMain() is the class of the application's delegate:

@autoreleasepool {

    return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));

}

An instance of this class will be created as a result of this call.

Upvotes: 1

Phillip Mills
Phillip Mills

Reputation: 31026

Look at main.m (the call to UIApplicationMain). The boilerplate there has class definitions.

Upvotes: 0

Related Questions