four platforms, one codebase

Post on 28-Jan-2015

112 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

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.

TRANSCRIPT

Four Platforms, One Codebase Cross Platform Mobile Apps with Xamarin

rob gibbensinteractive business systems

what does an app cost?

mobile development approaches

silos• build app multiple times• multiple teams• multiple code bases• different toolsets

write once, run anywhere• lowest common denominator• browser fragmentation• developing and designing for one platform

xamarin‘s unique approach• native user interface• native performance• shared code across platforms• c# and .net framework• full api coverage

why C#?

C# is awesome• async/await• linq• xml + xdocument• event handling, delgates, lambdas• generics

+ (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; }

var newDate = date.Date;

NSString *string = @“ spaces in front and at the end “;NSString *trimmedString = [string stringByTrimmingCharactersInSet: [NSCharacterSet whitespaceAndNewlineCharacterSet]];

var trimmedString = “ spaces in front and at the end “.Trim();

mvvm

mvvmCross

json serializer

file system

sqlite

message busvisibili

ty

download cache

gps

web browser

photos localizati

on

email

networkphone

callacceleromet

er

let’s code!

http://www.ibs.comhttp://www.ibs.com

Contact

Rob Gibbens

github: http://github.com/RobGibbens/MvvmDemotwitter: @RobGibbensemail : RobGibbens@arteksoftware.com

top related