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 Only platform that allows sharing code across these platforms while keeping native performance and UX
What’s New in 2.0? Xamarin Studio iOS for Visual 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
What’s New in 2.0? New Pricing New Names Developer Center An edition for every developer New Names Xamarin.iOS, Xamarin.Android, Xamarin.Mac Developer Center Massively revamped documentation website World class tutorials and guides
Xamarin Studio
Xamarin Studio Streamlined development experience Responsive, beautiful user interface Unified global search
Xamarin Studio Fast, smooth C# code navigation, completion and refactoring Git and subversion integration Powerful debugger Available on Windows and Mac
iOS for Visual Studio
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
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
Component Store
Component Store Paid and free components Add Components to your app directly from within XS or VS Submit your own!
Developer Center
New Pricing
Xamarin Editions Free Starter Edition Indie Edition Business 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
Xamarin Studio Tour and Demo
What’s coming? F# Support Portable Class Libraries Mono 3.0 runtime 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!
C# 5 Async async 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> ();
Questions?