Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Create a Empty application from the template .And then Add a ViewController to Project by right-click and add new file then choose and choose cocoa touch in left pane .</p> <p>Then select the First option Objective-C Class and then give name for the class .</p> <p><img src="https://i.stack.imgur.com/cI6Zu.png" alt="enter image description here"></p> <p>Choose UIViewController from subclasss .</p> <p><img src="https://i.stack.imgur.com/QEvP9.png" alt="enter image description here"></p> <p>Make sure checkbox with option ' With XIB or user interface ' is checked and then click next . </p> <p>project without a storyboard is created in XCode 5</p> <p>If you would like to navigation controller it can be achieved like the below code </p> <p><strong>Appdelegate.h</strong></p> <pre><code>#import &lt;UIKit/UIKit.h&gt; @class InitialViewController; @interface SampleAppDelegate : UIResponder &lt;UIApplicationDelegate&gt; @property (strong, nonatomic) UIWindow *window; @property (strong, nonatomic) InitialViewController *viewController; @end </code></pre> <p><strong>Appdelegate.m</strong></p> <pre><code>#import "SampleAppDelegate.h" #import "InitialViewController.h" @implementation SampleAppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; // Override point for customization after application launch. self.viewController = [[InitialViewController alloc]initWithNibName:@"InitialViewController" bundle:nil]; UINavigationController *navi = [[UINavigationController alloc]initWithRootViewController:self.viewController]; self.window.rootViewController = navi; self.window.backgroundColor = [UIColor whiteColor]; [self.window makeKeyAndVisible]; return YES; } </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload