Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Xamarin for iOS developers

615 views

Published on

Silicon Valley iOS Developers meetup (18-Apr-16) talk about using Xamarin to develop iPhone apps in Visual Studio with C#.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Xamarin for iOS developers

  1. 1. + 18 April 2016
  2. 2. Craig Dunn Xamarin Microsoft craig@xamarin.com conceptdev. blogspot.com @conceptdev
  3. 3. ✓ Create iOS, tvOS, watchOS apps ✓ Access all native iOS features ✓ Edit Storyboards and XIBs ✓ Build, test in simulator, debug ✓ Also use Xamarin.Studio on OS X
  4. 4. ✓ demo: TaskyStoryboard
  5. 5. http://tirania.org/tmp/rosetta.html https://developer.xamarin.com/api/root/ios-unified/ https://developer.xamarin.com/guides/ios/under_the_hood/api_design/
  6. 6. ✓ demo: To9o
  7. 7. ✓ Quick Actions ✓ Peek & Pop ✓ Pressure Sensitivity
  8. 8. ✓ CoreSpotlight ✓ NSUserActivity (Handoff & Siri)
  9. 9. ✓ AddressBook deprecated ✓ Contacts (create/edit) ✓ ContactsUI (read)
  10. 10. ✓ STACKS (horizontal & vertical) ✓ Leading/Trailing (not Left/Right) - great for localization
  11. 11. ✓ Right-to-left support ✓ Including UINavigationController ✓ UIStackView! UITextAlignment.Natural; Leading & Trailing v Left & Right
  12. 12. ✓ Re-ordering now super-easy CanMoveItem (view, index) MoveItem (view, source, dest)
  13. 13. ✓ Slide Over ✓ Split Screen (true multitasking) ✓ Picture-in-picture
  14. 14. ✓ Safari-in-a-box
  15. 15. ✓ how it works…
  16. 16. First release of Xamarin.Mac Launch Partner Program 200,000 Developers Xamarin Founded First release of Xamarin.Android Xamarin.iOS launches (originally known as MonoTouch) Ximian Founded 2001 2003 2009 2011 2012 2013 Mono Launches Ximian Acquired by Novell Xamarin 2.0 Component Store Xamarin Test Cloud Evolve 2013 Microsoft Partnership 500,000 Developers 100+ Partners 100+ Components 2014 // Xamarin 3 2000 SAP Partnership Fire TV Support Salesforce partnership Visionary in Gartner Magic Quadrant Google Glass Support Visual Studio Partner of the Year Android Wear Support Xamarin Evolve 2014 800,000 Developers 200+ Partners 200+ Components 2015 1 Million Developers IBM Partnership Visual Studio 2015 Support Oracle Partnership Apple Watch Support C# 6 Support 1,100,000 Developers 230+ Partners 300+ Components Xamarin Insights Xamarin University Xamarin.iOS Xamarin.Android Xamarin.Mac 2016 Microsoft Test Cloud Insights .NET & Mono MonoMac
  17. 17. Shared C# codebase • 100% native API access • High performance iOS C# UI Windows C# UIAndroid C# UI Shared C# Code
  18. 18. Mono .NETMono iOS C# Windows C#Android C# Shared C# Code Parts of Mono being used (unused code linked away) runs natively on iOS • User Interface Code (C#) • Storyboards & XIBs • Platform features (eg iOS 9) Shared C# Code • Business Logic • Database (SQLite) • Web services • File operations UIKit PassKit etc SQLite NSUrlSession file system etc native UI iOS CocoaPods Obj-C libs“bindings”
  19. 19. 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.
  20. 20. https://medium.com/@harrycheung/mobile-app- performance-redux-e512be94f976#.5thv4hcj8
  21. 21. ✓ so why would I?
  22. 22. C# Now Runs on 2.6+ Billion Devices
  23. 23. Mac iOS Android Windows Phone iCircuit Touch Draw 86% 14% 72% 28% 70% 30% 61%39% 88% 12% 76% 24% 90% 10%
  24. 24. Traditional Xamarin Approach With Xamarin.Forms: More code-sharing, still all native iOS C# UI Windows C# UIAndroid C# UI Shared C# Backend Shared UI Code Shared C# Backend
  25. 25. ✓ demo: Todo (Xamarin.Forms)
  26. 26. ✓ one more thing…
  27. 27. xamarin.com/testcloud
  28. 28. craig@xamarin.com conceptdev.blogspot.com @conceptdev Sample Code github.com/conceptdev/xamarin-samples github.com/conceptdev/xamarin-ios-samples github.com/xamarin/xamarin-forms-samples
  29. 29. Craig Dunn Xamarin Microsoft craig@xamarin.com conceptdev.blogspot.com @conceptdev Thank you!

×