Σχόλια 0

Το κείμενο της παρουσίασης

Paul RaynerAGILITY. CRAFT. ARCHITECTURE.Developing iPhoneApplications inTuesday, March 16, 2010Why theiPhone?Tuesday, March 16, 2010Why theiPhone?Tuesday, March 16, 2010ToolsTuesday, March 16, 2010Distributing AppsTuesday, March 16, 2010Tuesday, March 16, 2010MonoTouch ToolsTuesday, March 16, 2010MonoTouch ToolsTuesday, March 16, 2010MonoTouch ToolsTuesday, March 16, 2010Demo :: Getting StartedTuesday, March 16, 2010Demo :: Getting StartedTuesday, March 16, 2010iPhone ConstraintsTuesday, March 16, 2010iPhone Constraints•iPhone apps are not small desktop appsTuesday, March 16, 2010iPhone Constraints•iPhone apps are not small desktop apps•Limited resourcesTuesday, March 16, 2010iPhone Constraints•iPhone apps are not small desktop apps•Limited resources•Diﬀerent usage pa8ernsTuesday, March 16, 2010iPhone Constraints•iPhone apps are not small desktop apps•Limited resources•Diﬀerent usage pa8erns•Only one applica;on can run at a ;meTuesday, March 16, 2010iPhone Constraints•iPhone apps are not small desktop apps•Limited resources•Diﬀerent usage pa8erns•Only one applica;on can run at a ;me•Handle device diﬀerences gracefullyTuesday, March 16, 2010iPhone Constraints•iPhone apps are not small desktop apps•Limited resources•Diﬀerent usage pa8erns•Only one applica;on can run at a ;me•Handle device diﬀerences gracefully•Devs: No JIT compila;on, no scrip;ngTuesday, March 16, 2010Cocoa & Objective-CText!NSMutableURLRequest*theRequest = [NSMutableURLRequest

alloc]initWithData:resultencoding:NSASCIIStringEncoding]autorelease]);Cocoa & Objective-C•When there is no more memory, there is no more memoryTuesday, March 16, 2010!NSMutableURLRequest*theRequest = [NSMutableURLRequest

alloc]initWithData:resultencoding:NSASCIIStringEncoding]autorelease]);Cocoa & Objective-C•When there is no more memory, there is no more memory•No automa3c objects on the stack.Tuesday, March 16, 2010!NSMutableURLRequest*theRequest = [NSMutableURLRequest

alloc]initWithData:resultencoding:NSASCIIStringEncoding]autorelease]);Cocoa & Objective-C•When there is no more memory, there is no more memory•No automa3c objects on the stack.•No garbage collector (manual memory management)Tuesday, March 16, 2010!NSMutableURLRequest*theRequest = [NSMutableURLRequest

alloc]initWithData:resultencoding:NSASCIIStringEncoding]autorelease]);Cocoa & Objective-C•When there is no more memory, there is no more memory•No automa3c objects on the stack.•No garbage collector (manual memory management)Tuesday, March 16, 2010MonoTouch LimitationsTuesday, March 16, 2010MonoTouch Limitations•No JIT or scrip3ngTuesday, March 16, 2010MonoTouch Limitations•No JIT or scrip3ng•No code gen at run3meTuesday, March 16, 2010MonoTouch Limitations•No JIT or scrip3ng•No code gen at run3meSystem.Reﬂec3on.Emit not availableTuesday, March 16, 2010MonoTouch Limitations•No JIT or scrip3ng•No code gen at run3meSystem.Reﬂec3on.Emit not availableNo support for System.Run3me.Remo3ngTuesday, March 16, 2010MonoTouch Limitations•No JIT or scrip3ng•No code gen at run3meSystem.Reﬂec3on.Emit not availableNo support for System.Run3me.Remo3ngNo support for DLR languages (eg. IronRuby, IronPython)Tuesday, March 16, 2010MonoTouch Limitations•No JIT or scrip3ng•No code gen at run3meSystem.Reﬂec3on.Emit not availableNo support for System.Run3me.Remo3ngNo support for DLR languages (eg. IronRuby, IronPython)See hJp://monotouch.net/Documenta3on/Limita3onsTuesday, March 16, 2010Sample AppWalkthroughTuesday, March 16, 2010What’s Next?15Tuesday, March 16, 2010What’s Next?15Tuesday, March 16, 2010What’s Next?15Tuesday, March 16, 2010What’s Next?15Tuesday, March 16, 2010iPhone development is challengingTuesday, March 16, 2010iPhone development is challengingMonoTouch == GoodnessTuesday, March 16, 2010QuestionsTuesday, March 16, 2010ResourcesTuesday, March 16, 2010ResourcesTuesday, March 16, 2010ResourcesTuesday, March 16, 2010Resourceshttp://delicious.com/virtualgenius/monotouchTuesday, March 16, 2010Paul RaynerThank You…paul@virtual-genius.comwww.virtual-genius.comhttp://twitter.com/virtualgeniusAGILITY. CRAFT. ARCHITECTURE.Tuesday, March 16, 2010References•http://www.amazon.com/Building-iPhone-Applications-Developer-MonoTouch/dp/B003A6RCF2•iPhone image:http://ke2yk.wordpress.com/2009/03/22/ﬁrst-it-was-cw-now-its-the-question-pool/•iPhone sales chart:http://en.wikipedia.org/wiki/IPhone