Xamarin - why not ?

36

Transcript of Xamarin - why not ?

Page 2: Xamarin -  why not ?
Page 3: Xamarin -  why not ?
Page 4: Xamarin -  why not ?

? ? ?

Page 5: Xamarin -  why not ?

iOS WindowsAndroid

Objective-CSwiftXcode

C#Visual Studio

JavaAndroid Studio

No shared code • Many languages & development environments • Multiple teams

Page 6: Xamarin -  why not ?

Shared C# codebase • 100% native API access • High performance

iOS C# UI Windows C# UIAndroid C# UI

Shared C# Mobile C# Server

Linux/MonoCoreCLRAzure

Shared C# Client/Server

Page 7: Xamarin -  why not ?

Traditional Xamarin Approach

With Xamarin.Forms:More code-sharing, all native

iOS C# UI Windows C# UIAndroid C# UI

Shared C# Backend

Shared UI Code

Shared C# Backend

Page 8: Xamarin -  why not ?
Page 9: Xamarin -  why not ?
Page 10: Xamarin -  why not ?

• Xamarin.iOS• Xamarin.Mac• Xamarin.Android• Xamarin.Forms• Bindings & Plugins• Getting Started• Contribution Guides

open.xamarin.com

Page 11: Xamarin -  why not ?
Page 12: Xamarin -  why not ?
Page 13: Xamarin -  why not ?

C# with Xamarin

Objective-C

Page 14: Xamarin -  why not ?

Xamarin.iOS does full Ahead Of Time (AOT) compilation to produce an ARM binary for Apple’s App Store.

Xamarin.Android takes advantage of Just In Time (JIT) compilation on the Android device.

.NET

C# Compileand Link .APK

Bindings

RunsNatively

IL+

JIT

Page 15: Xamarin -  why not ?

✓Always Up-to-Date

•••••••

••••••

Page 16: Xamarin -  why not ?
Page 17: Xamarin -  why not ?

• Multi-Touch Enabled• Pressure Sensitive• Super Fast• Rotate, screenshots,

location changes• Never leave VS

Page 18: Xamarin -  why not ?
Page 19: Xamarin -  why not ?
Page 20: Xamarin -  why not ?

• World’s first iOS Designer available in Xamarin Studio and Visual Studio

• Follows familiar Visual Studio designer idioms

• Supports all UIKit elements

• Edit custom and 3rd party components

• Live preview of changes to properties

Page 21: Xamarin -  why not ?

• Available in:• Xamarin Studio • Visual Studio

• Create UI with drag & drop simplicity

• Target multiple screen sizes, resolutions and Android versions

• Layouts saved in standard Android XML files

Page 22: Xamarin -  why not ?
Page 23: Xamarin -  why not ?

✓ 40+ Pages, layouts, and controls(Build from code behind or XAML)

✓ Two-way data binding✓ Navigation✓ Animation API✓ Dependency Service✓ Messaging Center

Shared C# Backend

Shared UI Code

Page 24: Xamarin -  why not ?
Page 25: Xamarin -  why not ?
Page 26: Xamarin -  why not ?

72920356

OS versionsDevicesLanguagesLocalesScreen sizes

919K+

395727156

OS versionsDistinct devicesLanguagesLocalesScreen sizesManufacturersScreen configurations

Page 27: Xamarin -  why not ?
Page 28: Xamarin -  why not ?

xamarin.com/testcloud

Page 29: Xamarin -  why not ?
Page 30: Xamarin -  why not ?

• Code• Work• Build• Test• Release

Page 31: Xamarin -  why not ?
Page 32: Xamarin -  why not ?
Page 33: Xamarin -  why not ?
Page 34: Xamarin -  why not ?
Page 35: Xamarin -  why not ?
Page 36: Xamarin -  why not ?

Thank You! Questions?

Dan ArdeleanMahiz

[email protected] sviluppomobile.blogspot.com @danardelean