Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Building Native Cross-Platform Apps in C# with Xamarin

Building Native Cross-Platform Apps in C# with Xamarin

Greg Shackles

July 28, 2015
Tweet

More Decks by Greg Shackles

Other Decks in Technology

Transcript

  1. Building Native Cross-Platform Apps in C# with Xamarin Greg Shackles

    @gshackles [email protected] github.com/gshackles speakerdeck.com/u/gshackles
  2. Native Performance 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.
  3. TL;DR Anything you can do in Objective-C, Swift, or Java

    can be done in C# or F# with Xamarin
  4. File Linking Core Project iOS Project Core Code iOS-Specific Code

    Android Project Core Code Android-Specific Code Windows Project Core Code Windows-Specific Code File Links
  5. Portable Class Libraries • One assembly • Multiple platforms •

    Including: • Xamarin.iOS • Xamarin.Android • Xamarin.Mac
  6. Xamarin.Forms: What’s Included? • 40+ Pages, Layouts, and Controls •

    Build from code or XAML • Data Binding • Navigation • Animation • Dependency Service • Messaging Center
  7. Xamarin.Forms: 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 …and more!
  8. Xamarin.UITest • Write UI tests in C# or F# •

    iOS and Android (with shared test code) • Run on simulator and devices • Compatible with all apps • Native • Hybrid • Xamarin