Dev Wars - iOS vs Android vs Titanium

download Dev Wars - iOS vs Android vs Titanium

of 14

  • date post

    11-May-2015
  • Category

    Documents

  • view

    194
  • download

    0

Embed Size (px)

description

A free and informal technical introduction to multiplatform mobile development, on scientific explanation on why "my platform" is better than "your platform" and how to reuse as much code as possible when targeting multiple systems at once. - Multiplatform Mobile Development: making the most of it - Code reuse across different mobile systems - Dealing with fangirls & fanboys

Transcript of Dev Wars - iOS vs Android vs Titanium

  • 1.Mobile Dev Wars iOS vs Android vs Titanium Michael Siddi @michaelsiddi Federico Pinna @0xfede Giuseppe Broccia @gbroccia

2. Agenda iOS vs Android - Pros & Cons Lets create a simple app on both platforms How to: Async HTTP/JSON Requests Whats & Why Titanium? 3. iOS vs Android 4. iOS PROs CONs Great documentation for APIs Objective-C learning curve Almost no fragmentation All the Provisioning Proles + Certicates stu AppStore Only Veried AppsThe only way to install third-party apps (no jailbreak) AppStore Long Review Times (starting from 1 week to innity & beyond) Customers are more willing to spend money for an app iOS Developer Program costs 99$/year XCode Its a complete suite for building your apps.. It has debugging tools + test & proling instruments, etc. XCode Looks like iTunes and it crashes very often since version 4.0. Project conguration is not that simple. Beautiful UI and great UXNo need of physical back buttons Create a Framework (SDK) for iOS is a pain in the ass! Great Debugging Tools LLDB (Apples replacement for GDB) No colors for the Console logs without third-party addons to XCode 5. Android PROs CONs Java & XML Complex code if you dont design it nicely Play Store One time registration fee of 25$ New Apps Instant Approval Play Store Many Low-Quality Apps With many alternative stores your audience can be HUGE! + 200%!!! but you have to handle all of them! You can develop under the hood with native code and you need to take care of all dierent HWs. Localization is quite simple IDE ? Entry Level Devices are cheap and fully equipped with sensors. Entry Level Devices Fragmentation & Low PerformanceNo support for Android future versions by OEMs 6. iOS vs Android - Fragmentation iOS 7 is installed on the 90% of active iOS devices The last version of Android (KitKat) is installed on the 18% of active Android Devices Jelly Bean KitKat Froyo Gingerbread ICS 7. iOS vs Android - Market Share Q1-2014: Android WINS with the 81% of Market Share! iOS has the 15% 8. Lets code!!! 9. PROs CONs You dont need to be a pro! If youre not a pro you will make a mess! Its Javascript, babe! Its Javascript, damn! Consistent & well designed APIs The documentation is so so Generates native code Optimization can be very hard Great for prototypes and betas Not so great for complex and big projects The best of both worlds: Titanium WORST 10. Lets code!!! 11. One more thing 12. Swift At the WWDC this year, Apple decided to reboot all the iOS developers working life ! announcing a new programming language: Swift! They called it the Objective-C without C The Square Brackets notation is gone class MyClass { var aVariable: Int = 0 func myMethod() -> String { return The number is (aVariable)." } } @interface MyClass:NSObject @property (nonatomic, assign) NSInteger aVariable; - (NSString *) myMethod; @end @implementation MyClass - (NSString *) myMethod{ return [NSString stringWithFormat:@The number is %d., aVariable]; } @end Swift Objective-C 13. Swift The two languages will coexist until Apple will decide to drop the support for Objective-C If you want to approach iOS development ! this is the right time! ! 14. Thank you!