so you want to be an iphone developer
DESCRIPTION
Presentation given to many groups including Barcamp Memphis, Barcamp Birmingham, and TechMixer UniverstiyTRANSCRIPT
October 13th, 2009
Twitter: @appsolutegeniuswww.appsolutegenius.com
Brian Cauble Twitter: @briancauble [email protected] LinkedIn: www.linkedin.com/in/briancauble
Andria Jensen [email protected]
Why?
iPhone went from 7% to 23% in last year*
50 million (30 million iPhones, 20 million iPod/Touches)
2 Billion apps downloaded
*The Business Insider
Fun
“People rarely succeed unless they have fun in what they are doing”
Dale Carnegie
Access music library
Play music
Play or record video
Control camera (iPhone)
Integrate with photo library
Google Maps
Give directions
Locate the user
Natural gestures
Pinch & Zoom
Swipe
Detect Movement
Makes innovative games
Control phone
Integrate with Address Book
Send Messages
Badge Numbers
Play Sounds
Share information
Multiplayer games
iPhone or iPod Touch
Intel-based Mac
Apple SDK (it’s big)◦ Registered developer – Free
Simulator only
◦ Individual or company - $99/yr 100 developers
◦ Enterprise - $299/yr Can’t release to app store
Submit apps to App Store
You choose price – Free to $999.99
Apple take 30%
You get paid monthly ($250/region)
Easy way to test apps
Can’t do everything◦ Accelerometer◦ iTunes Library◦ Location services◦ Unrealistic performance
Static Analyzer
Quickly find errors
Message syntax◦ [receiver message]; ◦ [myClass someFunction];
Arguments are indicated by colon◦ [textField setEditable:YES];
Nested Arguments◦ [textField setDoubleValue:[slider doubleValue]];
Object identifiers◦ id anObject;
#import is like an include from C◦ Doesn’t bring in duplicates
@interface ClassName : ItsSuperclass{instance variable declarations
}method declarations@end
Multiple arguments◦ (void)setXLocation:(double)x yLocation:(double)y;
Allocation/Initialization◦ NSString *aString = [[NSString alloc] init];
Memory management◦ Must release anything you alloc
• Ctrl + / - tab between arguments (placeholders) in a function
• Cmd + / - Comment block of code• Cmd + L - Go to line• Cmd + 0 - Brings up document window in IB• Cmd + Shift + E - Toggles the file list• Cmd + Option + Up - toggles between .m and .h• Cmd + Ctrl + Up - Minimizes functions
Good blog◦ www.mobileorchard.com
Apple forums◦ https://devforums.apple.com
Favorite Book
Mockup Tool◦ www.balsamiq.com