Introducing Xamarin 2.0

Post on 15-Feb-2016

101 views 0 download

description

Introducing Xamarin 2.0. Introducing Xamarin 2.0 Michael Hutchinson mhutch@xamarin.com @mjhutchinson. What is Xamarin?. C# and .NET for Android, iOS and Mac Full native APIs – no compromise Share code across Android, iOS, Mac, Windows Phone, Windows RT, Windows - PowerPoint PPT Presentation

Transcript of Introducing Xamarin 2.0

1

Introducing Xamarin 2.0

Introducing Xamarin 2.0Michael Hutchinson

mhutch@xamarin.com@mjhutchinson

2

What is Xamarin?

• C# and .NET for Android, iOS and Mac• Full native APIs – no compromise• Share code across Android, iOS, Mac,

Windows Phone, Windows RT, Windows• Only platform that allows sharing code across

these platforms while keeping native performance and UX

3

What’s New in 2.0?

• Xamarin Studio– The best IDE for mobile development

• iOS for Visual Studio– Develop iOS apps from VS on Windows

• Component Store– Drop-in components to build apps faster

4

What’s New in 2.0?

• New Pricing– An edition for every developer

• New Names– Xamarin.iOS, Xamarin.Android, Xamarin.Mac

• Developer Center– Massively revamped documentation website– World class tutorials and guides

5

Xamarin Studio

6

Xamarin Studio

• Streamlined development experience

• Responsive, beautiful user interface

• Unified global search

7

Xamarin Studio

• Fast, smooth C# code navigation, completion and refactoring

• Git and subversion integration

• Powerful debugger• Available on Windows and

Mac

8

iOS for Visual Studio

9

iOS for Visual Studio

• You asked for it, we delivered!• Write, build, deploy and debug iOS apps from

Visual Studio• Take advantage of existing skills and

extensions, for example TFS and ReSharper• Develop for iOS, Android, Windows Phone

from a single solution

10

iOS for Visual Studio

• Connects to Mac over network

• Seamlessly transfers compiled C# to Mac for native build, sign

• Launch and debug on simulator or device

11

Component Store

12

Component Store

• Paid and free components

• Add Components to your app directly from within XS or VS

• Submit your own!

13

Developer Center

14

New Pricing

15

Xamarin Editions

• Free Starter Edition– 32kb of user IL, cannot link native code

• Indie Edition– Unrestricted size and native linking

• Business Edition– Visual Studio, WCF, email support

• Enterprise– App kickoff, priority support, free components

• Trial– 30 day trial of Business Edition

16

Xamarin StudioTour and Demo

17

What’s coming?

• F# Support– Create iOS and Android apps with your favorite functional

language• Portable Class Libraries– Build libraries that can be used from multiple

frameworks, e.g. .NET 4, Xamarin.iOS, WP7• Mono 3.0 runtime– C# 5 with async support– Upgraded GC and class libraries

• And more!

18

C# 5 Asyncasync Task<List<Customer>> GetCustomers (string url){ var client = new HttpClient (); try { string text = await client.GetStringAsync (url); } catch (Exception ex) { throw new FailedToFetchCustomersException (ex); } List<Customer> list = await ParseCustomerList (text); return list ?? new List<Customer> ();}

19

20

Questions?