SlideShare a Scribd company logo
XAMARIN 3 AND
XAMARIN.FORMS
Ed Snider
Aug 13 2014
NoVA Mobile C# Dev Group
CONTENT
Introduction
What is Xamarin?
Quick Review: Native Multi-Platform Mobile Architecture
What’s new with Xamarin 3
Xamarin iOS Designer
Xamarin Studio IDE Updates
Xamarin.Forms
Wrap up
INTRODUCTION
Ed Snider - @edsnider
Developer at InfernoRed Technology
Co-Organizer of NoVA Mobile C# Developers’ Group
www.infernored.com
@infernoredtech
www.novamobiledev.org
@novamobiledev
WHAT IS XAMARIN?
XAMARIN…
Xamarin is built on Mono
Allows native app compilation on Android and iOS using C#
100% API Coverage – All iOS and Android APIs
are exposed as C# class libraries
Up-to-date with API releases
from Apple and Google
WINDOWS APIS
100% Coverage
IOS APIS
100% Coverage
ANDROID APIS
100% Coverage
HOW XAMARIN WORKS
C# + .NET Runtime
Native UI
Native Performance
XAMARIN DEVELOPMENT TOOLS
Xamarin for Visual Studio Xamarin Studio for Windows and Mac
QUICK REVIEW: NATIVE MULTI-
PLATFORM MOBILE ARCHITECTURE
THE PROBLEM WITH
TRADITIONAL NATIVE MOBILE APP
DEV…
Native mobile apps are great but here’s the problem:
 Several Platforms: Windows, iOS, Android
 Several Languages: C#, Objective-C, Java
 Maintenance nightmares
 Customers and end-users suffer
THE BENEFITS OF MULTI-
PLATFORM
NATIVE MOBILE APP DEV WITH C#
Develop for all platforms with a single language – C# - using Xamarin
 Harness the power of the .NET framework
 Single solution with shared code
 Unified and consistent maintenance/testing
 Feature parity across platforms = happy end users
WHAT’S NEW WITH XAMARIN 3?
BRAND NEW IOS DESIGNER
Fully integrated in Xamarin
Studio and Visual Studio
iOS 6 / 7 Storyboard support
Intuitive event handling
Support for auto-layout
Custom controls live preview
Xamarin.Forms (Northern VA Mobile C# Developers Group 8/13/14)
XAMARIN STUDIO IDE
ENHANCEMENTS
NuGet Package Manager
Shared Projects
.NET BCL Documentation
F# Support
XAMARIN.FORMS
Set of APIs that abstract platform specific UI elements and behaviors
Write UI code once and it is rendered natively across iOS, Android and Window Phone
Use C# and/or XAML
Ships as NuGet packages
Views can now live in the PCL
Mix and match with platform APIs
Shared UI Code
XAMARIN.FORMS CONTROLS
Pages (e.g., Master-detail, Tabs, Carousel)
Layouts (e.g., Stack, Grid)
Views (e.g., Button, Label)
Cells (e.g., templates for table/list items)
XAMARIN.FORMS PAGES
Xamarin.Forms.Page
Represents UI screens
Page = Activity on Android
Page = View Controller on iOS
Page = Page on Windows Phone
Xamarin.Forms Pages Documentation
XAMARIN.FORMS LAYOUTS
Represents UI containers
Logically structures UI elements
Xamarin.Forms Layouts Documentation
XAMARIN.FORMS VIEWS
Represents UI controls
Implemented natively and
platform specific
Entry = EditText on Android
Entry = UITextField on iOS
Entry = Textbox on Windows Phone
Xamarin.Forms Views
Documentation
SOME OTHER COOL THINGS ABOUT
XAMARIN…
Component Store: http://components.xamarin.com/
.NET Mobility Scanner: http://scan.xamarin.com/
F#: http://developer.xamarin.com/guides/cross-
platform/fsharp/fsharp_support_overview/
Xamarin Test Cloud: http://xamarin.com/test-cloud
RESOURCES
Xamarin.Forms Intro
http://developer.xamarin.com/guides/cross-platform/xamarin-
forms/introduction-to-xamarin-forms/
Code from my demo
https://github.com/edsnider/CoffeeFinder-XamarinFormsDemo
Image credit: https://octodex.github.com/

More Related Content

What's hot (20)

PDF
End to-end native iOS, Android and Windows apps wtih Xamarin
James Montemagno
 
PDF
Xamarin 4 - the future of apps
James Montemagno
 
PPTX
Getting Started with iOS & Android Development Using Xamarin & Visual Studio
Mark Arteaga
 
PDF
Building Your First Xamarin.Forms App
Xamarin
 
PDF
Building Your First Android App with Xamarin
Xamarin
 
PPTX
Introduction to Xamarin
Vinicius Quaiato
 
PPTX
.Net Standard Libraries and Xamarin
James Montemagno
 
PPTX
Xamarin cross platform
Guada Casuso
 
PDF
Intro to Xamarin for Visual Studio: Native iOS, Android, and Windows Apps in C#
Xamarin
 
KEY
Cross-platform Mobile Development
Xamarin
 
PPTX
Xamarin Platform
Liddle Fang
 
PDF
Deep Dive in Xamarin.Forms
James Montemagno
 
PPTX
Cross Platform Mobile Development with C# and Xamarin
KMS Technology
 
PPTX
Introduction to Xamarin
Brian Anderson
 
PDF
Xamarin University Presents: Building Your First Intelligent App with Xamarin...
Xamarin
 
PPTX
Introduction to xamarin
Christos Matskas
 
PPT
Developing Cross-platform Native Apps with Xamarin
danhermes
 
PDF
Xamarin Dev Days - Introduction to Xamarin
James Montemagno
 
PPTX
Introduction to Xamarin
Guy Barrette
 
PDF
TechEd Europe 2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio
James Montemagno
 
End to-end native iOS, Android and Windows apps wtih Xamarin
James Montemagno
 
Xamarin 4 - the future of apps
James Montemagno
 
Getting Started with iOS & Android Development Using Xamarin & Visual Studio
Mark Arteaga
 
Building Your First Xamarin.Forms App
Xamarin
 
Building Your First Android App with Xamarin
Xamarin
 
Introduction to Xamarin
Vinicius Quaiato
 
.Net Standard Libraries and Xamarin
James Montemagno
 
Xamarin cross platform
Guada Casuso
 
Intro to Xamarin for Visual Studio: Native iOS, Android, and Windows Apps in C#
Xamarin
 
Cross-platform Mobile Development
Xamarin
 
Xamarin Platform
Liddle Fang
 
Deep Dive in Xamarin.Forms
James Montemagno
 
Cross Platform Mobile Development with C# and Xamarin
KMS Technology
 
Introduction to Xamarin
Brian Anderson
 
Xamarin University Presents: Building Your First Intelligent App with Xamarin...
Xamarin
 
Introduction to xamarin
Christos Matskas
 
Developing Cross-platform Native Apps with Xamarin
danhermes
 
Xamarin Dev Days - Introduction to Xamarin
James Montemagno
 
Introduction to Xamarin
Guy Barrette
 
TechEd Europe 2014 DEV-B217 Go Mobile with C#, Xamarin, and Visual STudio
James Montemagno
 

Viewers also liked (6)

PPT
Intro to Xamarin.Forms : A C# way to develop mobile app
Mindfire Solutions
 
PPTX
Xamarin Forms, MVVM and Testing
Gyuwon Yi
 
PPT
Windows mobile
Shehrevar Davierwala
 
PDF
Creating MVC Application with backbone js
Mindfire Solutions
 
PPTX
Analyzing a Simple DTD
Wings Interactive
 
PDF
C# .net lecture 3 objects 3
Doron Raifman
 
Intro to Xamarin.Forms : A C# way to develop mobile app
Mindfire Solutions
 
Xamarin Forms, MVVM and Testing
Gyuwon Yi
 
Windows mobile
Shehrevar Davierwala
 
Creating MVC Application with backbone js
Mindfire Solutions
 
Analyzing a Simple DTD
Wings Interactive
 
C# .net lecture 3 objects 3
Doron Raifman
 
Ad

Similar to Xamarin.Forms (Northern VA Mobile C# Developers Group 8/13/14) (20)

PDF
Mobile Cross-Platform App Development in C# with Xamarin
Nick Landry
 
PPTX
An introduction to Xamarin
Cynoteck Technology Solutions Private Limited
 
PPTX
Introduction to Xamarin - Confoo 2015
Guy Barrette
 
PDF
Evolution of Xamarin.Forms!
All Things Open
 
PPTX
CS732-SE750-Part2-Lecture05-Xamarin.pptx
Jimmyconnors Chettipally
 
PDF
Building Mobile Cross-Platform Apps for iOS, Android & Windows in C# with Xam...
Nick Landry
 
PDF
How Xamarin Is Revolutionizing Mobile Development
MentorMate
 
PPTX
Say hello to Xamarin 3
Xamarin
 
PDF
Introduction to Xamarin Philly Code Camp 2014
James Montemagno
 
PDF
Why xamarin forms is awesome
Charlin Agramonte
 
PPTX
xamarin ppt m (1).pptx GENARAL SEMINAR TOPIC PPT
anuranthchala
 
PPTX
Xamarin 3 hieu 19-06
Nguyen Hieu
 
PPTX
Xamarin Best Cross Platform Mobile App Development Solution
Ramin mohmaad hoseini
 
PPTX
Xamarin overview droidcon.tn
Houssem Dellai
 
PPTX
Xamarin 0
Fajar Baskoro
 
PPTX
Introduction to xamarin
Prabhat gangwar
 
PPTX
Future of Mobile Development -Xamarin
Chamod Sandaru
 
PPTX
Introduction to xamarin
Sumantro Mukherjee
 
PDF
Couchbase Workshop - Introduction to Xamarin
James Montemagno
 
Mobile Cross-Platform App Development in C# with Xamarin
Nick Landry
 
Introduction to Xamarin - Confoo 2015
Guy Barrette
 
Evolution of Xamarin.Forms!
All Things Open
 
CS732-SE750-Part2-Lecture05-Xamarin.pptx
Jimmyconnors Chettipally
 
Building Mobile Cross-Platform Apps for iOS, Android & Windows in C# with Xam...
Nick Landry
 
How Xamarin Is Revolutionizing Mobile Development
MentorMate
 
Say hello to Xamarin 3
Xamarin
 
Introduction to Xamarin Philly Code Camp 2014
James Montemagno
 
Why xamarin forms is awesome
Charlin Agramonte
 
xamarin ppt m (1).pptx GENARAL SEMINAR TOPIC PPT
anuranthchala
 
Xamarin 3 hieu 19-06
Nguyen Hieu
 
Xamarin Best Cross Platform Mobile App Development Solution
Ramin mohmaad hoseini
 
Xamarin overview droidcon.tn
Houssem Dellai
 
Xamarin 0
Fajar Baskoro
 
Introduction to xamarin
Prabhat gangwar
 
Future of Mobile Development -Xamarin
Chamod Sandaru
 
Introduction to xamarin
Sumantro Mukherjee
 
Couchbase Workshop - Introduction to Xamarin
James Montemagno
 
Ad

Recently uploaded (20)

PPTX
Practical Applications of AI in Local Government
OnBoard
 
PPTX
2025 HackRedCon Cyber Career Paths.pptx Scott Stanton
Scott Stanton
 
PDF
Plugging AI into everything: Model Context Protocol Simplified.pdf
Abati Adewale
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
Enhancing Environmental Monitoring with Real-Time Data Integration: Leveragin...
Safe Software
 
PDF
DoS Attack vs DDoS Attack_ The Silent Wars of the Internet.pdf
CyberPro Magazine
 
PDF
“Scaling i.MX Applications Processors’ Native Edge AI with Discrete AI Accele...
Edge AI and Vision Alliance
 
PPTX
01_Approach Cyber- DORA Incident Management.pptx
FinTech Belgium
 
PDF
Understanding AI Optimization AIO, LLMO, and GEO
CoDigital
 
PDF
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
 
PDF
Dev Dives: Accelerating agentic automation with Autopilot for Everyone
UiPathCommunity
 
DOCX
Daily Lesson Log MATATAG ICT TEchnology 8
LOIDAALMAZAN3
 
PPTX
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
PPTX
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Pitch ...
Michele Kryston
 
PDF
Bridging CAD, IBM TRIRIGA & GIS with FME: The Portland Public Schools Case
Safe Software
 
PDF
ArcGIS Utility Network Migration - The Hunter Water Story
Safe Software
 
PDF
Understanding The True Cost of DynamoDB Webinar
ScyllaDB
 
PDF
Java 25 and Beyond - A Roadmap of Innovations
Ana-Maria Mihalceanu
 
PDF
Simplify Your FME Flow Setup: Fault-Tolerant Deployment Made Easy with Packer...
Safe Software
 
PDF
''Taming Explosive Growth: Building Resilience in a Hyper-Scaled Financial Pl...
Fwdays
 
Practical Applications of AI in Local Government
OnBoard
 
2025 HackRedCon Cyber Career Paths.pptx Scott Stanton
Scott Stanton
 
Plugging AI into everything: Model Context Protocol Simplified.pdf
Abati Adewale
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Enhancing Environmental Monitoring with Real-Time Data Integration: Leveragin...
Safe Software
 
DoS Attack vs DDoS Attack_ The Silent Wars of the Internet.pdf
CyberPro Magazine
 
“Scaling i.MX Applications Processors’ Native Edge AI with Discrete AI Accele...
Edge AI and Vision Alliance
 
01_Approach Cyber- DORA Incident Management.pptx
FinTech Belgium
 
Understanding AI Optimization AIO, LLMO, and GEO
CoDigital
 
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
 
Dev Dives: Accelerating agentic automation with Autopilot for Everyone
UiPathCommunity
 
Daily Lesson Log MATATAG ICT TEchnology 8
LOIDAALMAZAN3
 
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Pitch ...
Michele Kryston
 
Bridging CAD, IBM TRIRIGA & GIS with FME: The Portland Public Schools Case
Safe Software
 
ArcGIS Utility Network Migration - The Hunter Water Story
Safe Software
 
Understanding The True Cost of DynamoDB Webinar
ScyllaDB
 
Java 25 and Beyond - A Roadmap of Innovations
Ana-Maria Mihalceanu
 
Simplify Your FME Flow Setup: Fault-Tolerant Deployment Made Easy with Packer...
Safe Software
 
''Taming Explosive Growth: Building Resilience in a Hyper-Scaled Financial Pl...
Fwdays
 

Xamarin.Forms (Northern VA Mobile C# Developers Group 8/13/14)

Editor's Notes

  • #7: If you are a windows developer you will be used to these name spaces. These are the core .NET base libraries that we know and love. If you mix in windows phone and windows store development you get new namespaces Windows. And Microsoft. With platform specific APIs
  • #8: Xamarin gives you the best of both worlds with full support for the .NET Framework (your System. Libraries) Then they create C# bindings for every API in iOS and Android As you can see here there are a few, CoreGraphics, CoreMotion, etc, These are your platform specific bits to take advantage of everything in iOS
  • #9: Then they do the same thing for Android so here you get the Android specifics Renderscript, NFC to do cool phone tapping of data transfer And text to speech apis to make your app shine
  • #10: On iOS Xamarin Compiles the C# down to IL (intermediate language) Then Xamarin create LLVM bit code Then the LLVM bit code runs through the same LLVM Compiler and Optimizer that apple users for objective-c code Creating the final native arm binary. On Android they use an advanced compiler and linking to IL and then JIT to create native instructions at runtime for optimal performance which often can be faster than the dalvik runtime.
  • #11: Not only are you able to build apps for Android and iOS with C# but you can also do it all within VS to bring all your favorite tools, libraries, extensions to your mobile development Xamarin offers a very rich integration experience with Visual Studio Business license or higher Develop both iOS and Android in VS (part of File > New experience with templates, etc.) IntelliSense allows you to explore the full APIs in a consistent and familiar way Developing iOS within Visual Studio requires a networked Mac build/deployment host Xamarin also offers their own IDE, Xamarin Studio Available on Mac and Windows Available with any license Rich design surfaces for building native Uis Android UI builder with drag and drop UI tool Integration with Xcode Interface builder to build iOS Uis Built in support for Git and Subversion