Slide 1

Slide 1 text

Derek Fernholz Developer @fernholz [email protected] A COMPREHENSIVE OVERVIEW Intro to iOS Development 1

Slide 2

Slide 2 text

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

Slide 3

Slide 3 text

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

Slide 4

Slide 4 text

A ONE-STOP SHOP The IDE • (Live Demo / Walkthrough) 4

Slide 5

Slide 5 text

THE BASICS Class Structure • Interface vs. Implementation • Instance vs. Class • Instance Variables, Properties, Setters & Getters, and Synthesizing 5

Slide 6

Slide 6 text

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

Slide 7

Slide 7 text

WHY YOU’LL LOVE ARC Memory Management • Retain and Release • Alloc and Dealloc • Nil 7

Slide 8

Slide 8 text

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

Slide 9

Slide 9 text

STORYBOARDS, XIBS, OR ? View Layer • Storyboard • XIBs (NIBs) • IBOutlets • IBActions • (Show the people) 9

Slide 10

Slide 10 text

WE’LL DO IT LIVE Lets Code Something • (Heads to XCode) 10

Slide 11

Slide 11 text

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