Four Platforms, One Codebase

409 views

Published on

You want to write mobile apps, but you don’t want to write the same code four times over. You want cross-platform apps, but you don’t want to sacrifice the native speed and power. You want to create native iOS, Android, Windows Phone, and Windows 8 apps, and you want it all while maximizing code reuse and harnessing the power and simplicity of C#. You want four native platforms, but you want one codebase.
Of course you do. You want Xamarin.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Four Platforms, One Codebase

  1. 1. Four Platforms, One Codebase Cross Platform Mobile Apps with Xamarin rob gibbens interactive business systems
  2. 2. what does an app cost?
  3. 3. mobile development approaches
  4. 4. silos • • • • build app multiple times multiple teams multiple code bases different toolsets
  5. 5. write once, run anywhere • • • lowest common denominator browser fragmentation developing and designing for one platform
  6. 6. xamarin‘s unique approach • • • • • native user interface native performance shared code across platforms c# and .net framework full api coverage
  7. 7. why C#?
  8. 8. C# is awesome • • • • • async/await linq xml + xdocument event handling, delgates, lambdas generics
  9. 9. + (NSDate *) stripTime:(NSDate *) date { NSCalendar *gregorian = [[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar]; NSDateComponents *components = [gregorian components:(NSYearCalendarUnit | NSMonthCalendarUnit | NSDayCalendarUnit) fromDate:date]; date = [gregorian dateFromComponents:components]; [gregorian release]; } return date;
  10. 10. var newDate = date.Date;
  11. 11. NSString *string = @“ spaces in front and at the end “; NSString *trimmedString = [string stringByTrimmingCharactersInSet: [NSCharacterSet whitespaceAndNewlineCharacterSet]];
  12. 12. var trimmedString = “ spaces in front and at the end “.Trim();
  13. 13. mvvm
  14. 14. mvvmCross
  15. 15. json serializer visibility message bus download cache file system phone call gps photos sqlite web browser email accelerometer network localization
  16. 16. let’s code!
  17. 17. http://www.ibs.com
  18. 18. Contact Rob Gibbens github: http://github.com/RobGibbens/MvvmDemo twitter: @RobGibbens email : RobGibbens@arteksoftware.com

×