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

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

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

  • 790 views
Published

 

Published in Technology , News & Politics
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
790
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
0
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Hello.Thursday, October 20, 11
  • 2. Thank youThursday, October 20, 11
  • 3. So you wanna build iPhone & iPad apps?Thursday, October 20, 11
  • 4. Thursday, October 20, 11
  • 5. iOS, Cocoa, Cocoa Touch, Objective-C, huh?Thursday, October 20, 11
  • 6. iOSThursday, October 20, 11
  • 7. Cocoa - The framework that powers Mac OS X desktop appsThursday, October 20, 11
  • 8. Cocoa Touch - The framework that powers iOS apps - A feature-set to support the mobile OSThursday, October 20, 11
  • 9. 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
  • 10. Thursday, October 20, 11
  • 11. Hello, Objective-C!Thursday, October 20, 11
  • 12. It’s object-oriented (OO) ... and it’s super-good at it.Thursday, October 20, 11
  • 13. Direct association Indirect association It loves the MVC design pattern Controller Model ViewThursday, October 20, 11
  • 14. Objective-C vs ...Thursday, October 20, 11
  • 15. JavaScript var firstName = “Ben”; PHP $firstName = “Ben”; Objective-C NSString *firstName = @“Ben”;Thursday, October 20, 11
  • 16. 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
  • 17. JavaScript numberOfCars(75, “Orange”); PHP $this->numberOfCars(75, “Orange”); Objective-C [self numberOfCarsOwnedByUser:75 ofColor:@”Orange”];Thursday, October 20, 11
  • 18. 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
  • 19. JavaScript var car = new Car(); PHP $car = new Car(); Objective-C Car *car = [[Car alloc] init];Thursday, October 20, 11
  • 20. Memory ManagementThursday, October 20, 11
  • 21. Retain count Car *car = [[Car alloc] init]; +1 [car release]; 0 [car release]; SH! -1 CRA *new to iOS5 - ARC!Thursday, October 20, 11
  • 22. pauseThursday, October 20, 11
  • 23. New ProjectThursday, October 20, 11
  • 24. Cheers again chris@skillshare.com @chrisboardmanThursday, October 20, 11