ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
Intro to iOS Development
A COMPREHENSIVE OVERVIEW




Derek Fernholz
Developer



@fernholz
derek@blendinteractive.com




                             1
The Necessities
STARTED
WHAT YOU NEED TO GET




• 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
Language - Objective-C
LEARNING TO LOVE [ ]




• 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
The IDE
A ONE-STOP SHOP




•   (Live Demo / Walkthrough)




                                4
Class Structure
THE BASICS




• Interface vs. Implementation
• Instance vs. Class

• Instance Variables, Properties, Setters & Getters,

  and Synthesizing




                                                       5
Syntax
YOU’LL GET USED TO IT




• NSString *string = [NSString string]
• [NSString stringWithFormat:[prefs format]];

• return [object name] (same as) return

  object.name
• More as we dive into the code




                                                6
Memory Management
WHY YOU’LL LOVE ARC




• Retain and Release
• Alloc and Dealloc

• Nil




                       7
Categories
EXTENDING WITHOUT




• 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
View Layer
STORYBOARDS, XIBS, OR ?




• Storyboard
• XIBs (NIBs)

• IBOutlets

• IBActions

• (Show the people)




                          9
Lets Code Something
WE’LL DO IT LIVE




•   (Heads to XCode)




                       10
Questions and Contact
SLIDE
THE OLD STANDARD FINAL




•   Q&A Session



• @fernholz
• derek@blendinteractive.com or

  fernholz@gmail.com
• World Beer Tour App in iTunes App Store

  (shameless plug)
                                            11

More Related Content

Intro To iOS

  • 1. Intro to iOS Development A COMPREHENSIVE OVERVIEW Derek Fernholz Developer @fernholz derek@blendinteractive.com 1
  • 2. The Necessities STARTED WHAT YOU NEED TO GET • 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
  • 3. Language - Objective-C LEARNING TO LOVE [ ] • 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
  • 4. The IDE A ONE-STOP SHOP • (Live Demo / Walkthrough) 4
  • 5. Class Structure THE BASICS • Interface vs. Implementation • Instance vs. Class • Instance Variables, Properties, Setters & Getters, and Synthesizing 5
  • 6. Syntax YOU’LL GET USED TO IT • NSString *string = [NSString string] • [NSString stringWithFormat:[prefs format]]; • return [object name] (same as) return object.name • More as we dive into the code 6
  • 7. Memory Management WHY YOU’LL LOVE ARC • Retain and Release • Alloc and Dealloc • Nil 7
  • 8. Categories EXTENDING WITHOUT • 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
  • 9. View Layer STORYBOARDS, XIBS, OR ? • Storyboard • XIBs (NIBs) • IBOutlets • IBActions • (Show the people) 9
  • 10. Lets Code Something WE’LL DO IT LIVE • (Heads to XCode) 10
  • 11. Questions and Contact SLIDE THE OLD STANDARD FINAL • Q&A Session • @fernholz • derek@blendinteractive.com or fernholz@gmail.com • World Beer Tour App in iTunes App Store (shameless plug) 11

Editor's Notes