I Phone Tutorial
I Phone Tutorial
Nikhil Yadav
CSE 40816/60816: erva!ive "ealth
0#/0#/$011
"ealth%are ihone app!
;o to http://developer.apple.%om %reate an
a%%ount i' <ou do not alread< have one
>' <ou are on !no5 leopard 5ith the ne5 !dk and 5e
havenAt updated the e=ample! <et <ou ma< need to
%han)e <our (a!e SD9 to 4.0 !o that itA! not mi!!in).
Thi! %an (e done in the tar)et !ettin)!. 2l!o* <ou 5ill
have to %li%k on 5here it !a<! Bdevi%e D $.$ E de(u)A in
the !%reen!hot a(ove* and %han)e that to Devi%e D 4.0
E De(u) or an< o' the ne5er devi%e !ettin)! dete%ted
on <our phone
20/ ro%e!!or
1$8/$F6 /C 02/
CSD GN>:
/a%h /i%rokernel
COCO2 2>!
COCO2
COCO2 i! a OO +rame5ork
Ca!ed on Ne=tStep
NS 3Ne=tStep4
C+ 3Core +oundation4
C2 3Core 2nimation4
Core Data
Open;6
COCO2 Convention!
2%%elerometer
6o%ation 2>
/ulti-Tou%h
Camera/&ideo >nput
/ap >nter'a%e
Open;6 ES
O(He%tive-C
-3void4!et2%tion:3SE64aSele%tor
SE6 m<Sele%torN
m<Sele%tor 8 Q!ele%tor3dra5/<&ie5:4N
Lm<Cutton !et2%tion:m<Sele%torMN
/emor< /ana)ement
/odel-&ie5-Controller
G>&ie5Controller Cla!!
G>Navi)ationController
SD9 Tool!
ihone Simulator
>nter'a%e Cuilder
No5 map the %ontroller %la!! varia(le 'un%tion and method! 5ith
inter'a%e (uilder. Sele%t +ileA! O5ner in >nter'a%e (uilder and !ele%t
%onne%tion in!pe%tor 'rom Tool! %md I $
http://developer.apple.com/
http://developer.apple.com/library/ios/#documentation/Cocoa/Conceptual/ObjectiveC/Introduction/introObjectiveC.html
http://www.cocoadev.com/