際際滷

際際滷Share a Scribd company logo
亠于仂亠 仗亳仍仂亢亠仆亳亠 
亟仍 iPhone 
仍亠弍 丐舒舒仂于 
CUSTIS
/ 48 
仂亠仄 仄仂弍亳仍仆舒 舒亰舒弍仂从舒? 
2
/ 48 
仍 亟亠从仂仗仂于 仍仂亢仆仂 仂-仂 仗亳亟仄舒 
3
/ 48 
亠弍  仗亠亠仗舒舒仆仆仂亠 仗仂仍亠 
4
/ 48 
仂弍亳仍仆亠 仗亳仍仂亢亠仆亳  仆舒亠 于! 
5
/ 48 
仂 仆舒亟仂 仗亠亳! 
6
/ 48 
亳仆舒仄亳从舒 仂舒 AppStore 
7
/ 48 
舒从 仄仂弍亳仍仆 弌 于弍舒? 
8
/ 48 
弌丿 
9
/ 48 
仂亳 
10
/ 48 
亊亰从亳, 仗仍舒仂仄 
11 
iOS Objective-C Mac 
Windows Phone 7 C# Win 
Android Java Win, Mac, Linux 
Symbian C++ Win 
Blackberry Java Win
/ 48 
仂弍亳仍仆亠 亠亶仄于仂从亳 
12 
 Wink Toolkit 
 iUI 
 Dojo Mobile 
 dHTMLx Touch 
 jQTouch 
 jQuery Mobile 
 Sencha Touch 
 Xui (仆亠 仗仂仗仍亠仆 于 仂亳亳) 
http://lib.custis.ru/仂弍亳仍仆舒_于亠弍-舒亰舒弍仂从舒_(仆亟亠亶_亠弍仂于,_ADD-2011)
/ 48 
仂仄仗亳仍亳 
于亠弍-仗亳仍仂亢亠仆亳亶 于 仆舒亳于仆亠 
13 
 PhoneGap 
 MotherApp 
 Big5 
 Rhodes 
 Titanium
/ 48 
Wunderlist 
14 
Titanium 
http://www.6wunderkinder.com/wunderlist/
/ 48 
亰亠仆-仄舒仆亳 
15 
http://zenmoney.ru/ 
PhoneGap
/ 48 
丼仂 仆亢仆仂 亟仍 舒亰舒弍仂从亳? 
16
/ 48 
仂仗仂弍仂于舒 
17 
 丱舒从亳仆仂 仗仂亟 于亳舒仍仆仂亶 仄舒亳仆仂亶 (舒仆舒于仍亳于舒亠仄 Mac OS 仆舒 
VirtualBox) 
 XCode 4 ($5)
/ 48 
仂仍仆仂亠仆仆舒 舒亰舒弍仂从舒 
18 
 舒从亳仆仂 
 iPhone 亟仍 亠亳仂于舒仆亳 
 仂亟仗亳从舒 舒亰舒弍仂亳从舒 Apple ($99 / 亞仂亟)
/ 48 
Objective-C 
19
/ 48 
仂亳 
20 
1981  Object-Oriented Pre-Compiler (OOPC). 仂仄仗舒仆亳 StepStone. 
Tom Love & Brad Cox 
1986  Objective-C. 束Object-Oriented Programming, 
An Evolutionary Approach損 (Brad Cox). 
1988  NeXT 仍亳亠仆亰亳亠 Objective-C 
1996  Apple 仗仂从仗舒亠 NeXT. Objective-C  仂仆仂于仆仂亶 磶从 
亟仍 Mac OS. 
2007  Objective-C  仂仆仂于仆仂亶 磶从 亟仍 iPhone OS
/ 48 
仆仂于仆亠 仂仂弍亠仆仆仂亳 
21 
 仂弍亠从仆仂-仂亳亠仆亳仂于舒仆仆亶 
 从仂仄仗亳仍亳亠 于 仄舒亳仆仆亶 从仂亟 
 仗仂仍仆仂 仂于仄亠亳仄  弌亳 
 header-舒亶仍
/ 48 
弌舒于仆亠仆亳亠  亟亞亳仄亳 磶从舒仄亳 
22 
 亠 舒亳亠从亳 仗仂仍亠亶 
 亠 舒弍舒从仆 仄亠仂亟仂于 亳 从仍舒仂于 
 亠 protected 仄亠仂亟仂于 
 亠 generic-仂于 
 亠 namespace-仂于 
 YES/NO 于仄亠仂 true/false. nil 于仄亠仂 null
/ 48 
弌舒于仆亠仆亳亠  亟亞亳仄亳 磶从舒仄亳 
23 
  于仂亶于舒 
  仍礆弍亟舒-仆从亳亳 
 仂亢仆仂 仗亳舒 弍亠亰 舒亳亠从亳 仗仂于亠仂从 仆舒 亳仗 
 仂亞亳仆舒 亳亠舒亳 从仂仍仍亠从亳亶 (readonly 弍舒亰仂于亶 亟仍 mutable) 
 仄亠仆仂于舒仆仆亠 仗舒舒仄亠 仄亠仂亟仂于 
 亠 仄亠仂亟 于亳舒仍仆亠
/ 48 
亠 于亰仂于 仄亠仂亟仂于, 舒 仂仗舒于从舒 仂仂弍亠仆亳亶 
24 
Objective-C [myObject doSomething:myArgument]; 
C++ myObject->doSomething(myArgument); 
C#, JAVA, Python myObject.doSomething(myArgument); 
PHP, Perl $myObject->doSomething($myArgument);
/ 48 
亠仗亳于仆亶 亳仆舒从亳 
25 
C# Objective-C 
a[i] [a objectAtIndex:i] 
a[key] [a objectForKey:key] 
a + b [a stringByAppendingString:b] 
a.Replace("a", "b") [a stringByReplacingOccurrencesOfString:@"a" withString:@"b"]
/ 48 
舒仂 
26 
C# Objective-C 
a.Process(q, r, t, f) [a processQuery:q withRadius:r withTime:t callWhenFinish:f]
/ 48 
丕仗舒于仍亠仆亳亠 仗舒仄 
27 
 亠亳从 仍仂从 retainCount 
 retain: retainCount++ 
 release: retainCount-- 
 dealloc, 从仂亞亟舒 retainCount = 0
/ 48 
Model  View  Controller 
28
/ 48 
亠仄仂仆舒亳 
29
/ 48 
弍仍亳从舒亳 仗亳仍仂亢亠仆亳 
30
/ 48 
亠亞亳舒亳 于 AppStore 
31 
 仂从仗舒亠仄 于 亊仆亟亠从.亠仆亞亳 于亳舒仍仆 从舒 仆舒 3000 弍仍亠亶 
 舒仗仂仍仆磳仄 仍亠从仂仆仆 仂仄 亠亞亳舒亳亳 
 仍舒亠仄 舒从 亠亠亰 仂仆仍舒亶仆-亠于亳 
 亟亠仄 仗仂亟于亠亢亟亠仆亳
/ 48 
丼仂 仆亢仆仂? 
32 
 舒亰于舒仆亳亠 
 仄 仗亳仍仂亢亠仆亳 于 iPhone 
 仂亟亟亠亢亳于舒亠仄舒 于亠亳 iOS 
 弍舒 从舒亠亞仂亳 
 从仂仆从舒 
 仗亳舒仆亳亠 
 弌从亳仆仂
/ 48 
iTunes Connect 
33
/ 48 
仂亟于亳亢亠仆亳亠 
34
/ 48 
仂仍亠亰仆亠 仂于亠 
35
/ 48 
仂亟亟亠亢从舒 舒 于亠亳亶 iOS 
36
/ 48 
仂亟亟亠亢从舒 iPad, 
iPod Touch 
37
/ 48 
仂亟亟亠亢从舒 Retina 
38
/ 48 
亰仂于 仄亠仂亟舒, 
仂亰亟舒仆亳亠 仂弍亠从舒  亟仂仍亞仂! 
39
40 / 48 
亠亶于亳亠 仂仍亳亠于仂 LLVM GCC 
亰仂于 Objective- 
C 仄亠仂亟舒 
10000000 1 亠从. 0.9 亠从 
亰仂于 C 仆从亳亳 10000000 0.2 亠从. 0.2 亠从. 
弌仂亰亟舒仆亳亠 
仂弍亠从舒 
1000000 6.3 亠从. 5.3 亠从. 
弌仂亰亟舒仆亳亠 弌 
从 
10000000 1.9 亠从. 0.7 亠从. 
亰仄亠磿仂 仆舒 iPhone 3GS
/ 48 
亰弍亠亞舒 autorelease. 
仂弍亠仆仆仂 于 亳从仍亠. 
41
/ 48 
亠 于亳仍亠仆亳 亟亠仍舒 亰舒舒仆亠亠 
42
/ 48 
弍舒仆舒 于磶: 
从仆仂仗从舒 束仆舒仗亳舒 仗亳仄仂損 
43
/ 48 
亳 亠亳仂于舒仆亳亳 仗亳仍仂亢亠仆亳 亟舒仍亳亠 亠亞仂  
亠仍亠仂仆舒 亳 弍仂亠 仆舒仂亶从亳 
44
/ 48 
仂亞仂亳仗 Google 
45
/ 48 
仂亞亳仂于舒 于亠 
46
/ 48 
丼仂 亳 亞亟亠 仗仂亳舒? 
47 
 ADD-2010. 亳从亳舒 个仂仍仂于. 舒从 仆舒舒 舒亰舒弍舒于舒 亟仍 iPhone. 
 Objective-C 2.0 亳 仗仂亞舒仄仄亳仂于舒仆亳亠 亟仍 Mac 
 iTunes-U. Stanford
/ 48 
亠! 
48 
gleb34@gmail.com

More Related Content

Lecture1

  • 1. 亠于仂亠 仗亳仍仂亢亠仆亳亠 亟仍 iPhone 仍亠弍 丐舒舒仂于 CUSTIS
  • 2. / 48 仂亠仄 仄仂弍亳仍仆舒 舒亰舒弍仂从舒? 2
  • 3. / 48 仍 亟亠从仂仗仂于 仍仂亢仆仂 仂-仂 仗亳亟仄舒 3
  • 4. / 48 亠弍 仗亠亠仗舒舒仆仆仂亠 仗仂仍亠 4
  • 5. / 48 仂弍亳仍仆亠 仗亳仍仂亢亠仆亳 仆舒亠 于! 5
  • 6. / 48 仂 仆舒亟仂 仗亠亳! 6
  • 7. / 48 亳仆舒仄亳从舒 仂舒 AppStore 7
  • 8. / 48 舒从 仄仂弍亳仍仆 弌 于弍舒? 8
  • 11. / 48 亊亰从亳, 仗仍舒仂仄 11 iOS Objective-C Mac Windows Phone 7 C# Win Android Java Win, Mac, Linux Symbian C++ Win Blackberry Java Win
  • 12. / 48 仂弍亳仍仆亠 亠亶仄于仂从亳 12 Wink Toolkit iUI Dojo Mobile dHTMLx Touch jQTouch jQuery Mobile Sencha Touch Xui (仆亠 仗仂仗仍亠仆 于 仂亳亳) http://lib.custis.ru/仂弍亳仍仆舒_于亠弍-舒亰舒弍仂从舒_(仆亟亠亶_亠弍仂于,_ADD-2011)
  • 13. / 48 仂仄仗亳仍亳 于亠弍-仗亳仍仂亢亠仆亳亶 于 仆舒亳于仆亠 13 PhoneGap MotherApp Big5 Rhodes Titanium
  • 14. / 48 Wunderlist 14 Titanium http://www.6wunderkinder.com/wunderlist/
  • 15. / 48 亰亠仆-仄舒仆亳 15 http://zenmoney.ru/ PhoneGap
  • 16. / 48 丼仂 仆亢仆仂 亟仍 舒亰舒弍仂从亳? 16
  • 17. / 48 仂仗仂弍仂于舒 17 丱舒从亳仆仂 仗仂亟 于亳舒仍仆仂亶 仄舒亳仆仂亶 (舒仆舒于仍亳于舒亠仄 Mac OS 仆舒 VirtualBox) XCode 4 ($5)
  • 18. / 48 仂仍仆仂亠仆仆舒 舒亰舒弍仂从舒 18 舒从亳仆仂 iPhone 亟仍 亠亳仂于舒仆亳 仂亟仗亳从舒 舒亰舒弍仂亳从舒 Apple ($99 / 亞仂亟)
  • 20. / 48 仂亳 20 1981 Object-Oriented Pre-Compiler (OOPC). 仂仄仗舒仆亳 StepStone. Tom Love & Brad Cox 1986 Objective-C. 束Object-Oriented Programming, An Evolutionary Approach損 (Brad Cox). 1988 NeXT 仍亳亠仆亰亳亠 Objective-C 1996 Apple 仗仂从仗舒亠 NeXT. Objective-C 仂仆仂于仆仂亶 磶从 亟仍 Mac OS. 2007 Objective-C 仂仆仂于仆仂亶 磶从 亟仍 iPhone OS
  • 21. / 48 仆仂于仆亠 仂仂弍亠仆仆仂亳 21 仂弍亠从仆仂-仂亳亠仆亳仂于舒仆仆亶 从仂仄仗亳仍亳亠 于 仄舒亳仆仆亶 从仂亟 仗仂仍仆仂 仂于仄亠亳仄 弌亳 header-舒亶仍
  • 22. / 48 弌舒于仆亠仆亳亠 亟亞亳仄亳 磶从舒仄亳 22 亠 舒亳亠从亳 仗仂仍亠亶 亠 舒弍舒从仆 仄亠仂亟仂于 亳 从仍舒仂于 亠 protected 仄亠仂亟仂于 亠 generic-仂于 亠 namespace-仂于 YES/NO 于仄亠仂 true/false. nil 于仄亠仂 null
  • 23. / 48 弌舒于仆亠仆亳亠 亟亞亳仄亳 磶从舒仄亳 23 于仂亶于舒 仍礆弍亟舒-仆从亳亳 仂亢仆仂 仗亳舒 弍亠亰 舒亳亠从亳 仗仂于亠仂从 仆舒 亳仗 仂亞亳仆舒 亳亠舒亳 从仂仍仍亠从亳亶 (readonly 弍舒亰仂于亶 亟仍 mutable) 仄亠仆仂于舒仆仆亠 仗舒舒仄亠 仄亠仂亟仂于 亠 仄亠仂亟 于亳舒仍仆亠
  • 24. / 48 亠 于亰仂于 仄亠仂亟仂于, 舒 仂仗舒于从舒 仂仂弍亠仆亳亶 24 Objective-C [myObject doSomething:myArgument]; C++ myObject->doSomething(myArgument); C#, JAVA, Python myObject.doSomething(myArgument); PHP, Perl $myObject->doSomething($myArgument);
  • 25. / 48 亠仗亳于仆亶 亳仆舒从亳 25 C# Objective-C a[i] [a objectAtIndex:i] a[key] [a objectForKey:key] a + b [a stringByAppendingString:b] a.Replace("a", "b") [a stringByReplacingOccurrencesOfString:@"a" withString:@"b"]
  • 26. / 48 舒仂 26 C# Objective-C a.Process(q, r, t, f) [a processQuery:q withRadius:r withTime:t callWhenFinish:f]
  • 27. / 48 丕仗舒于仍亠仆亳亠 仗舒仄 27 亠亳从 仍仂从 retainCount retain: retainCount++ release: retainCount-- dealloc, 从仂亞亟舒 retainCount = 0
  • 28. / 48 Model View Controller 28
  • 30. / 48 弍仍亳从舒亳 仗亳仍仂亢亠仆亳 30
  • 31. / 48 亠亞亳舒亳 于 AppStore 31 仂从仗舒亠仄 于 亊仆亟亠从.亠仆亞亳 于亳舒仍仆 从舒 仆舒 3000 弍仍亠亶 舒仗仂仍仆磳仄 仍亠从仂仆仆 仂仄 亠亞亳舒亳亳 仍舒亠仄 舒从 亠亠亰 仂仆仍舒亶仆-亠于亳 亟亠仄 仗仂亟于亠亢亟亠仆亳
  • 32. / 48 丼仂 仆亢仆仂? 32 舒亰于舒仆亳亠 仄 仗亳仍仂亢亠仆亳 于 iPhone 仂亟亟亠亢亳于舒亠仄舒 于亠亳 iOS 弍舒 从舒亠亞仂亳 从仂仆从舒 仗亳舒仆亳亠 弌从亳仆仂
  • 33. / 48 iTunes Connect 33
  • 35. / 48 仂仍亠亰仆亠 仂于亠 35
  • 36. / 48 仂亟亟亠亢从舒 舒 于亠亳亶 iOS 36
  • 37. / 48 仂亟亟亠亢从舒 iPad, iPod Touch 37
  • 39. / 48 亰仂于 仄亠仂亟舒, 仂亰亟舒仆亳亠 仂弍亠从舒 亟仂仍亞仂! 39
  • 40. 40 / 48 亠亶于亳亠 仂仍亳亠于仂 LLVM GCC 亰仂于 Objective- C 仄亠仂亟舒 10000000 1 亠从. 0.9 亠从 亰仂于 C 仆从亳亳 10000000 0.2 亠从. 0.2 亠从. 弌仂亰亟舒仆亳亠 仂弍亠从舒 1000000 6.3 亠从. 5.3 亠从. 弌仂亰亟舒仆亳亠 弌 从 10000000 1.9 亠从. 0.7 亠从. 亰仄亠磿仂 仆舒 iPhone 3GS
  • 41. / 48 亰弍亠亞舒 autorelease. 仂弍亠仆仆仂 于 亳从仍亠. 41
  • 42. / 48 亠 于亳仍亠仆亳 亟亠仍舒 亰舒舒仆亠亠 42
  • 43. / 48 弍舒仆舒 于磶: 从仆仂仗从舒 束仆舒仗亳舒 仗亳仄仂損 43
  • 44. / 48 亳 亠亳仂于舒仆亳亳 仗亳仍仂亢亠仆亳 亟舒仍亳亠 亠亞仂 亠仍亠仂仆舒 亳 弍仂亠 仆舒仂亶从亳 44
  • 45. / 48 仂亞仂亳仗 Google 45
  • 47. / 48 丼仂 亳 亞亟亠 仗仂亳舒? 47 ADD-2010. 亳从亳舒 个仂仍仂于. 舒从 仆舒舒 舒亰舒弍舒于舒 亟仍 iPhone. Objective-C 2.0 亳 仗仂亞舒仄仄亳仂于舒仆亳亠 亟仍 Mac iTunes-U. Stanford
  • 48. / 48 亠! 48 gleb34@gmail.com