• Save
So You Wanna Build iPhone iPad Apps / Skillshare Class #1
Upcoming SlideShare
Loading in...5
×
 

So You Wanna Build iPhone iPad Apps / Skillshare Class #1

on

  • 876 views

 

Statistics

Views

Total Views
876
Views on SlideShare
876
Embed Views
0

Actions

Likes
1
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

So You Wanna Build iPhone iPad Apps / Skillshare Class #1 So You Wanna Build iPhone iPad Apps / Skillshare Class #1 Presentation Transcript

  • Hello.Thursday, October 20, 11
  • Thank youThursday, October 20, 11
  • So you wanna build iPhone & iPad apps?Thursday, October 20, 11
  • Thursday, October 20, 11
  • iOS, Cocoa, Cocoa Touch, Objective-C, huh?Thursday, October 20, 11
  • iOSThursday, October 20, 11
  • Cocoa - The framework that powers Mac OS X desktop appsThursday, October 20, 11
  • Cocoa Touch - The framework that powers iOS apps - A feature-set to support the mobile OSThursday, October 20, 11
  • Objective-C - The programming language powering the Apple frameworks. - Its a superset of C, so it’s easy to mix C and C++ into Cocoa applications.Thursday, October 20, 11
  • Thursday, October 20, 11
  • Hello, Objective-C!Thursday, October 20, 11
  • It’s object-oriented (OO) ... and it’s super-good at it.Thursday, October 20, 11
  • Direct association Indirect association It loves the MVC design pattern Controller Model ViewThursday, October 20, 11
  • Objective-C vs ...Thursday, October 20, 11
  • JavaScript var firstName = “Ben”; PHP $firstName = “Ben”; Objective-C NSString *firstName = @“Ben”;Thursday, October 20, 11
  • JavaScript function numberOfCars (ownerID, carColor) { ... return totalCars; } PHP public function numberOfCars ($ownerID, $carColor) { ... return $totalCars; } Objective-C - (NSInteger *)numberOfCarsOwnedByUser:(NSInteger *)ownerID ofColor:(NSString *)carColor { ... return totalCars; }Thursday, October 20, 11
  • JavaScript numberOfCars(75, “Orange”); PHP $this->numberOfCars(75, “Orange”); Objective-C [self numberOfCarsOwnedByUser:75 ofColor:@”Orange”];Thursday, October 20, 11
  • JavaScript console.log(“The value of x is: ” + x); PHP echo “The value of x is: ”.$x; Objective-C NSLog(@”The value of x is %d”, x);Thursday, October 20, 11
  • JavaScript var car = new Car(); PHP $car = new Car(); Objective-C Car *car = [[Car alloc] init];Thursday, October 20, 11
  • Memory ManagementThursday, October 20, 11
  • Retain count Car *car = [[Car alloc] init]; +1 [car release]; 0 [car release]; SH! -1 CRA *new to iOS5 - ARC!Thursday, October 20, 11
  • pauseThursday, October 20, 11
  • New ProjectThursday, October 20, 11
  • Cheers again chris@skillshare.com @chrisboardmanThursday, October 20, 11