Introducing Xamarin 2.0

20
1 Introducing Xamarin 2.0 Introducing Xamarin 2.0 Michael Hutchinson [email protected] @mjhutchinson

description

Introducing Xamarin 2.0. Introducing Xamarin 2.0 Michael Hutchinson [email protected] @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

Page 1: Introducing Xamarin 2.0

1

Introducing Xamarin 2.0

Introducing Xamarin 2.0Michael Hutchinson

[email protected]@mjhutchinson

Page 2: Introducing Xamarin 2.0

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

Page 3: Introducing Xamarin 2.0

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

Page 4: Introducing Xamarin 2.0

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

Page 5: Introducing Xamarin 2.0

5

Xamarin Studio

Page 6: Introducing Xamarin 2.0

6

Xamarin Studio

• Streamlined development experience

• Responsive, beautiful user interface

• Unified global search

Page 7: Introducing Xamarin 2.0

7

Xamarin Studio

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

• Git and subversion integration

• Powerful debugger• Available on Windows and

Mac

Page 8: Introducing Xamarin 2.0

8

iOS for Visual Studio

Page 9: Introducing Xamarin 2.0

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

Page 10: Introducing Xamarin 2.0

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

Page 11: Introducing Xamarin 2.0

11

Component Store

Page 12: Introducing Xamarin 2.0

12

Component Store

• Paid and free components

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

• Submit your own!

Page 13: Introducing Xamarin 2.0

13

Developer Center

Page 14: Introducing Xamarin 2.0

14

New Pricing

Page 15: Introducing Xamarin 2.0

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

Page 16: Introducing Xamarin 2.0

16

Xamarin StudioTour and Demo

Page 17: Introducing Xamarin 2.0

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!

Page 18: Introducing Xamarin 2.0

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

Page 19: Introducing Xamarin 2.0

19

Page 20: Introducing Xamarin 2.0

20

Questions?