iOS development


       Ahti Liin
   Mooncascade OÜ
Development

             XCode tools
Mac OSX
              iOS SDK
Development

             XCode tools   Apple Developer
Mac OSX
              iOS SDK         Program
Development

             XCode tools   Apple Developer
Mac OSX
              iOS SDK         Program




                              $99/year
Development

                     XCode tools   Apple Developer
      Mac OSX
                      iOS SDK         Program




                                      $99/year

iTunes appstore
Distribution
●   Apple reviews your application
Distribution
●   Apple reviews your application
●   Ad hoc
Distribution
●   Apple reviews your application
●   Ad hoc
●   Enterprise account
Distribution
●   Apple reviews your application
●   Ad hoc
●   Enterprise account
    ●   $299/yr
Development

●   Native development - Objective-C
@interface MainViewController : UIViewController <UIActionSheetDelegate, MKMapViewDelegate>
{
    UILabel *speedText;
    UILabel *statusText;
    NSTimer *timeTimer;
}

@property (nonatomic, retain) IBOutlet UILabel *speedText;
@property (nonatomic, retain) IBOutlet UILabel *statusText;
@property (nonatomic, retain) NSTimer *timeTimer;

- (void)appStatusChanged:(NSString*)status:(int)statusType;

@end


@implementation MainViewController

@synthesize speedText, statusText;
@synthesize timeTimer;

- (void)appStatusChanged:(NSString*)status:(int)statusType
{
    [statusText setText:status];
    switch(statusType)
    {
      case 1: [[self statusText] setTextColor:[UIColor yellowColor]]; break;
      case 2: [[self statusText] setTextColor:[UIColor redColor]]; break;
      case 0:
      default: [[self statusText] setTextColor:[UIColor whiteColor]]; break;
    }
}

@end
Development - UI
Development - UI
Development - UI
Development – lifecycle
Development – lifecycle
- (BOOL)app:(UIApplication *)app didFinishLaunchingWithOptions:(NSDictionary *)launchOptions

- (void)applicationWillResignActive:(UIApplication *)application

- (void)applicationDidEnterBackground:(UIApplication *)application

- (void)applicationWillEnterForeground:(UIApplication *)application

- (void)applicationDidBecomeActive:(UIApplication *)application

- (void)applicationWillTerminate:(UIApplication *)application

- (void)applicationDidReceiveMemoryWarning:(UIApplication *)application
iOS
●   In-app purchases
●   Push notifications
●   iAd
iThank You!


    Ahti Liin
Mooncascade OÜ

iOS development, Ahti Liin, Mooncascade OÜ @ MoMo Tallinn 11.04.11

  • 1.
    iOS development Ahti Liin Mooncascade OÜ
  • 2.
    Development XCode tools Mac OSX iOS SDK
  • 3.
    Development XCode tools Apple Developer Mac OSX iOS SDK Program
  • 4.
    Development XCode tools Apple Developer Mac OSX iOS SDK Program $99/year
  • 5.
    Development XCode tools Apple Developer Mac OSX iOS SDK Program $99/year iTunes appstore
  • 6.
    Distribution ● Apple reviews your application
  • 7.
    Distribution ● Apple reviews your application ● Ad hoc
  • 8.
    Distribution ● Apple reviews your application ● Ad hoc ● Enterprise account
  • 9.
    Distribution ● Apple reviews your application ● Ad hoc ● Enterprise account ● $299/yr
  • 10.
    Development ● Native development - Objective-C
  • 11.
    @interface MainViewController :UIViewController <UIActionSheetDelegate, MKMapViewDelegate> { UILabel *speedText; UILabel *statusText; NSTimer *timeTimer; } @property (nonatomic, retain) IBOutlet UILabel *speedText; @property (nonatomic, retain) IBOutlet UILabel *statusText; @property (nonatomic, retain) NSTimer *timeTimer; - (void)appStatusChanged:(NSString*)status:(int)statusType; @end @implementation MainViewController @synthesize speedText, statusText; @synthesize timeTimer; - (void)appStatusChanged:(NSString*)status:(int)statusType { [statusText setText:status]; switch(statusType) { case 1: [[self statusText] setTextColor:[UIColor yellowColor]]; break; case 2: [[self statusText] setTextColor:[UIColor redColor]]; break; case 0: default: [[self statusText] setTextColor:[UIColor whiteColor]]; break; } } @end
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
    Development – lifecycle -(BOOL)app:(UIApplication *)app didFinishLaunchingWithOptions:(NSDictionary *)launchOptions - (void)applicationWillResignActive:(UIApplication *)application - (void)applicationDidEnterBackground:(UIApplication *)application - (void)applicationWillEnterForeground:(UIApplication *)application - (void)applicationDidBecomeActive:(UIApplication *)application - (void)applicationWillTerminate:(UIApplication *)application - (void)applicationDidReceiveMemoryWarning:(UIApplication *)application
  • 17.
    iOS ● In-app purchases ● Push notifications ● iAd
  • 18.
    iThank You! Ahti Liin Mooncascade OÜ