Introduction to Xamarin 3

35
C# on 2.6 billion devices Dan Ardelean @danardelean [email protected] u

description

Introduction to the new features of Xamarin 3: iOS Designer, Shared code, Xamarin.Forms

Transcript of Introduction to Xamarin 3

Page 1: Introduction to Xamarin 3

C# on 2.6 billion devices

Dan Ardelean@[email protected]

Page 2: Introduction to Xamarin 3
Page 3: Introduction to Xamarin 3

Architecting Mobile Apps

Page 4: Introduction to Xamarin 3

SiloApproach

Build AppsMultiple Times

Page 5: Introduction to Xamarin 3

Write Once,Run AnywhereApproach

Lowest CommonDenominator

Page 6: Introduction to Xamarin 3

Xamarin’s Unique Approach

Native with Code Sharing

Page 7: Introduction to Xamarin 3

Anything you can do in Objective-C, Swift or Java, can be done in C# with Xamarin

Page 8: Introduction to Xamarin 3

What’s new in Xamarin 3

Page 9: Introduction to Xamarin 3

Major Elements inXamarin 3

Xamarin Designer for iOSMajor IDE EnhancementsImproved Code SharingXamarin.Forms

Page 10: Introduction to Xamarin 3

Xamarin Designer for iOS

Fully integrated into Xamarin Studio & Visual Studio

iOS 6 & 7 Storyboard support

Intuitive event handling

Support for auto-layout

Live preview of custom controls

Page 11: Introduction to Xamarin 3

DEMO

Page 12: Introduction to Xamarin 3

Xamarin Studio: Beautiful New Look

Page 13: Introduction to Xamarin 3

NuGet Package Manager

Full support for using NuGet packages

Take advantage of the many NuGet packages which are are now shipping with Xamarin compatibility – in Visual Studio or Xamarin Studio

Page 14: Introduction to Xamarin 3

Shared Projects

The easiest way to share code

Eliminates the hassle of file-linking

Easier to collaborate with other Xamarin Studio and Visual Studio users

Page 15: Introduction to Xamarin 3

Conditional Compilation

Page 16: Introduction to Xamarin 3

Class Mirroring

Page 17: Introduction to Xamarin 3

Partial Classes

Page 18: Introduction to Xamarin 3

Partial Methods

Page 19: Introduction to Xamarin 3

First Class F# Support

Page 20: Introduction to Xamarin 3

Portable Class Libraries

Page 21: Introduction to Xamarin 3

Xamarin + Xamarin.FormsWith Xamarin.Forms:

more code-sharing, native controlsTraditional Xamarin approach

Shared UI Code

Page 22: Introduction to Xamarin 3

Xamarin + Xamarin.Forms

Shared UI Code

Quickly and easily build native user interfaces using shared code

Xamarin.Forms elements map to native controls and behaviors

Mix-and-match Xamarin.Forms with native APIs

Page 23: Introduction to Xamarin 3

Xamarin Forms

Page 24: Introduction to Xamarin 3

Pages

Content MasterDetail Navigation Tabbed Carousel

Page 25: Introduction to Xamarin 3

Layouts

Stack Absolute Relative Grid ContentView ScrollView Frame

Page 26: Introduction to Xamarin 3

Layouts

Page 27: Introduction to Xamarin 3

Managed Layouts

Page 28: Introduction to Xamarin 3

Controls

ActivityIndicator

BoxView Button DatePicker Editor

Entry Image Label ListView Map

OpenGLView Picker ProgressBar SearchBar Slider

Stepper TableView TimePicker WebView EntryCell

ImageCell SwitchCell TextCell ViewCell

Page 29: Introduction to Xamarin 3

Navigation

Page 30: Introduction to Xamarin 3

Platform specific code

Page 31: Introduction to Xamarin 3

PCL

Page 32: Introduction to Xamarin 3

PCL

Page 33: Introduction to Xamarin 3

DEMO

Page 34: Introduction to Xamarin 3

Xamarin 3 Recap

Xamarin Designer for iOS

Major IDE Enhancements

Improved Code Sharing

Xamarin.Forms

So much more!

Page 35: Introduction to Xamarin 3

Try XamarinToday