Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Intro to iOS Development

Intro to iOS Development

Talk from South Dakota Code Camp 2012

Derek Fernholz

November 10, 2012
Tweet

Other Decks in Programming

Transcript

  1. WHAT YOU NEED TO GET STARTED The Necessities • Mac

    (in our case, running Mac OS X 10.7 or higher) • XCode 4.5+ • iOS SDKs • Familiarity with or willingness to learn Object Oriented Programming 2
  2. LEARNING TO LOVE [ ] Language - Objective-C • The

    Objective-C language is a simple computer language designed to enable sophisticated object-oriented programming. • Knowing or having an understanding of C will help you understand this language • It is a C superset based and built on Smalltalk 3
  3. THE BASICS Class Structure • Interface vs. Implementation • Instance

    vs. Class • Instance Variables, Properties, Setters & Getters, and Synthesizing 5
  4. YOU’LL GET USED TO IT Syntax • NSString *string =

    [NSString string] • [NSString stringWithFormat:[prefs format]]; • return [object name] (same as) return object.name • More as we dive into the code 6
  5. EXTENDING WITHOUT EXTENDING Categories • Add methods to a class

    without subclassing it • Gives ability to override or add functionality to classes blindly and with ease • @interface NSString (Utilities) • - (BOOL) isURL; • @end 8
  6. STORYBOARDS, XIBS, OR ? View Layer • Storyboard • XIBs

    (NIBs) • IBOutlets • IBActions • (Show the people) 9
  7. THE OLD STANDARD FINAL SLIDE Questions and Contact • Q&A

    Session • @fernholz • [email protected] or [email protected] • World Beer Tour App in iTunes App Store (shameless plug) • https://github.com/fernholz/CodeCamp12 11