First of all, yes, you can still use IB for this even in the latest version of Xcode, so I'm not sure where you got it from.
If you want to know how to specify an application delegate without IB, this is pretty simple:
In your main method, just use the application delegate class name as the 4th parameter for UIApplicationMain :
int main(int argc, char *argv[]) { @autoreleasepool { int retVal = UIApplicationMain(argc, argv, nil, @"APPLICATION_DELEGATE_CLASS_NAME"); return retVal; } }
In fact, Xcode 4.2 does this for you by default when creating an application based on a view from a template (although it does not use a static string ... which is probably better than my suggestion, honestly, because it would get refactored if you use built-in refactoring, etc.):
NSStringFromClass([AppDelegate class])
To answer the following question: ok , then what should I do ? to connect the UINC outlet in interface ? ok , then what should I do ? to connect the UINC outlet in interface ?
Do not worry.
Still not believing me? Great ... here's the tutorial ... it's FIFTEEN steps! ... and completely pointless.
First create an application:

Open main.m and replace the fourth parameter with nil :

Create a new xib or grab the existing one (which I am going to do here) and create the File Owner UIApplication .

Then add Object from the toolbar and change the class to your subclass of UIApplicationDelegate :

Now go back to the file owner and connect the delegate output to the added UIApplicationDelegate . Remove the view link if you do what I did and capture the existing xib.

Now add UIWindow from the toolbar.

Now add the 'UIViewController from the toolbox. This is your custom from the toolbox. This is your custom UIViewController . If you want a . If you want a UINavigationController or UITableViewController` just add this instead.

If you are using a custom UIViewController class, specify the class here:

Connect the UIWindow rootViewController to your UIViewController :

UIApplicationDelegate your UIApplicationDelegate interface and create or modify the window property to make it an IBOutlet .

Switch to the implementation and remove any "useless" code that configures your window controller and root view. (I'm sarcastically here ... this short code does everything we do here ... just programmatically, not through IB.)

Go back to your xib and connect the UIApplicationDelegate window output to it.
<T411>
Now, in your target deployment information, set xib as the βMain Interfaceβ:

Done ... pshew!