Next Level Collaboration: The Future of Content and Design by Rebekah Cancino...
"Intro to iOS Development" - Derek Fernholz, South Dakota Code Camp 2012
1. Intro to iOS Development
A COMPREHENSIVE OVERVIEW
Derek Fernholz
Developer
@fernholz
derek@blendinteractive.com
1
2. The Necessities
WHAT YOU NEED TO GET STARTED
• 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
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
8. Categories
EXTENDING WITHOUT EXTENDING
• 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
11. Questions and Contact
THE OLD STANDARD FINAL SLIDE
• Q&A Session
• @fernholz
• derek@blendinteractive.com or fernholz@gmail.com
• World Beer Tour App in iTunes App Store (shameless plug)
• https://github.com/fernholz/CodeCamp12
11