iPhone Development: Zero to Sixty
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

iPhone Development: Zero to Sixty

on

  • 4,841 views

A Presentation I did for Northwest Of US Mac User Group - Programmers Special Interest Group on Thursday October 2, 2008.

A Presentation I did for Northwest Of US Mac User Group - Programmers Special Interest Group on Thursday October 2, 2008.

Get in touch if you like it or even if you hate it!

Statistics

Views

Total Views
4,841
Views on SlideShare
4,591
Embed Views
250

Actions

Likes
13
Downloads
185
Comments
1

6 Embeds 250

http://www.iphonecodesource.com 172
http://1821design.com 57
http://www.1821design.com 12
http://www.slideshare.net 6
http://translate.googleusercontent.com 2
http://iphonecodesource.com 1

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

CC Attribution-NonCommercial LicenseCC Attribution-NonCommercial License

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…
  • You may want to download it again. I added a few things according to how the talk went, but nothing really new.

    Cheers!
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

iPhone Development: Zero to Sixty Presentation Transcript

  • 1. iPhone Development Zero to Sixty Tom Swift 1821 Design
  • 2. Who the hell am I?
      • iPhone Developer: Thomas Swift
      • Owner of 1821 Design
        • http://1821design.com
      • Rails Developer & Web Designer
      • http://twitter.com/tmy - add me
        • or don't (i swear a lot)
  • 3. Why iPhone Development?
      • The iPhone kicks ass
        • 3G and GPS
        • Powerful
        • OpenGL ES
      • Mac Development
      • Xcode & Objective-C
      • App Store
        • One Stop Shop
        • Easy For Users
        • Great For Developers *
  • 4. Getting Started
      • What you need
        • iPhone Developer Account
        • Newest Xcode
        • Intel Machine :(
      • What you (really) need
        • iPhone or iPod Touch
        • Developer Certificate
        • Patience or some sort of mechanism to cope
  • 5.
      • Learning Objective-C or:
      • How I Learned to Stop Worrying and Love the Bracket
  • 6. Objective-C
    • Things that threw me for a loop
    • Bracket Madness
      • Method Calling
        • [object method:param] instead of object.method(param)
    • Plus and Minus in front of method calls
    • Going back to two files .m and .h
    • Pointers and Memory Management
    • Extremely long names of things
      • UIBarButtonItem *buttonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemDone target:self action:@selector(toggleView)];
    • Get Over It
    • I’m sure I forgot something
  • 7. Where I started
    • Apple Sample Code
      • Apple Sample Code is like an old BMW M5
  • 8. Which M5 - E60 M5 ?
  • 9. Which M5 – E36 M5?
  • 10. Nope: the E34 M5
  • 11. Why is Apple Sample code like a old BMW M5?
    • Hand built by Single Person or a small team
    • Test Drivers were able to tell who built them
    • Each had own individual style to match objective
    • Pretty badass and very relevant
    • They get the job done
    • A Little Old – except a few
  • 12. Good Apple Samples
    • LocateMe
      • CoreLocation
      • Delegates
    • SpeakHere
      • AudioToolbox
      • AudioQueue
    • AccelerometerGraph
    • SeismicXML
      • Pulling from the web
    • Reachability
      • Wifi, Cell Network
    • Many More
  • 13. Learning From Them
    • Remove the 50 pages of comments from each file
    • Start from the top
      • main.m
      • <APP>AppDelegate.h .m
  • 14. Xcode is slick
    • Research Assistant
    • Code completion
      • press esc
    • Breakpoints & GDB
    • Documentation
    • Code Folding
    • Instruments
  • 15. A few tips
    • An Error is an Error
    • A Warning is an Error - Fix it
    • When you alloc init something release it when your done with it
    • Link to frameworks inside the iPhone SDK Frameworks, sometime you’ll get funky build errors
    • Speaking of building
    • ABB – Always Be Building
  • 16. Simulators are no fun *
    • Except for SimCity
    • It’s a little faster to compile it to the simulator
    • You can test out your didReceiveMemoryWarning (a little harder on the device)
  • 17. Taste The Real Thing
    • Accelerometer
    • GPS
    • Microphone *
    • Real Memory Space
    • Testing Hand Interaction (that sounds sick)
      • Left Handed, Right Handed
      • Screen Orientation
      • Keyboard Flow
    • Oh crap! Phone Call
    • No WIFI, No Cell Signal
  • 18. Developer Certificate
  • 19. Getting that app on the Device
    • Program Portal
      • http://developer.apple.com/iphone/manage/overview/index.action
    • Generate on keys the machine
    • Upload to Apple
    • Setup a Provision Profile
    • Download the Profile
    • Install in Xcode
    • Send app to device
  • 20. Program Portal
  • 21. Team
  • 22. Certificates
  • 23. Devices
  • 24. App IDs
  • 25. Struggle
  • 26. Provisioning Profile
  • 27. Installing Provisioning Profile
    • Download and Drag to Xcode
      • Xcode should be open
    • When things get jacked up
      • Restart Xcode
      • remove profiles
        • delete from ~/Library/MobileDevice/Provisioning Profiles
        • drag the downloaded one to Xcode again
        • restart xcode for good measure
    • tweet about stabbing your eyes out
  • 28. Build?
    • Not Yet – Error 0xE8000001
    • Change Build Settings and info.plist
  • 29. 2 nd Most Important Slide
  • 30. Build Settings Right Click Blue Icon Get Info Click on Build Tab
  • 31.  
  • 32. YES!!!
  • 33. Where to turn to when the S hits the fan? (before fnda lifted)
    • Apple Docs
    • Cocoa Dev Wiki
    • The Googles
    • http://www.iphonedevsdk.com/forum
    • IRC #iphonedev on freenode
    • Apple Dev Mail list
    • Existing Source Code
      • Wordpress iPhone Code
  • 34. * App Store
    • First off, It’s awesome
    • But,
      • REVIEWS
      • Loose Guidelines
      • NDA’d Rejections
      • Sea of pointless apps *
      • No Trials
      • Cheap People
  • 35. Don’t Take My Word for it
    • I am not an expert
    • I have no apps on the store
    • Based on personal experience
    • Your results WILL vary
    • Not Covered
      • Distribution and Ad-Hoc
  • 36. Enough Blab Let’s build something! Thomas Swift 1821 Design Slides: http://www.slideshare.net/1821Design/