iPhone roguelike design doco for my University assignment

OK slightly off topic – but this is my first assignment (presentation) for my iOS rogue like/RPG game

http://dungeonbard.com/2012/09/14/powerpoint-presentation-on-dungeonbard-i-gave-a-few-days-ago-at-university/
Dom

 

Replacing storyboard with gold old fashion XIBs

I am replacing my storyboards with good old fashion XIB’s to make my app compatible with pre iOS 5 devices

1. Click on your target and set the storyboard to blank

2. Create a new class that is a subclass of

UIViewController called MainViewController and make sure the create XIB is selected

3. Add the following to the existing AppDelegate.h file

#import “MainViewController.h”

@property (strong, nonatomic) MainViewController *viewController;

4.In didFinishLaunchingWithOptions in MainViewController.m

add the following:

self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];

self.viewController = [[MainViewController alloc] initWithNibName:@”MainViewController” bundle:nil];

self.window.rootViewController = self.viewController;

[self.window makeKeyAndVisible];

return YES;

And behold the new XIB starts as expected – of course I now need to extract all the UI elements out of the existing storyboard…

Dom