Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Developing iOS and Android Apps in Visual Studi...
Search
Greg Shackles
August 26, 2014
Technology
0
250
Developing iOS and Android Apps in Visual Studio with Xamarin
Greg Shackles
August 26, 2014
Tweet
Share
More Decks by Greg Shackles
See All by Greg Shackles
Building Modern Services with .NET Core 3 and gRPC
gshackles
0
150
Observability-Driven Development: What DevOps is Really About
gshackles
1
270
Monitoring Your Mobile Apps in the Wild
gshackles
1
82
Building Scalable Applications with the Actor Model
gshackles
0
580
Creating a Voice-Driven TV Remote with Azure and Alexa
gshackles
0
97
Build 2017 Recap for Xamarin Developers
gshackles
0
95
Going Serverless: Event-Driven Architecture Without The Infrastructure
gshackles
0
160
Evolve 2016 Redux
gshackles
0
130
Instrumenting Your Mobile Monitoring Strategy
gshackles
0
4.6k
Other Decks in Technology
See All in Technology
プロセス改善による品質向上事例
tomasagi
1
1.6k
All you need to know about InnoDB Primary Keys
lefred
0
120
現場で役立つAPIデザイン
nagix
29
10k
急成長する企業で作った、エンジニアが輝ける制度/ 20250214 Rinto Ikenoue
shift_evolve
2
880
PL900試験から学ぶ Power Platform 基礎知識講座
kumikeyy
0
110
転生CISOサバイバル・ガイド / CISO Career Transition Survival Guide
kanny
2
390
依存関係があるコンポーネントは Barrel ファイルでまとめよう
azukiazusa1
3
530
20250208_OpenAIDeepResearchがやばいという話
doradora09
PRO
0
170
これからSREになる人と、これからもSREをやっていく人へ
masayoshi
6
4.1k
関東Kaggler会LT: 人狼コンペとLLM量子化について
nejumi
3
460
技術的負債解消の取り組みと専門チームのお話 #技術的負債_Findy
bengo4com
1
1.2k
スタートアップ1人目QAエンジニアが QAチームを立ち上げ、“個”からチーム、 そして“組織”に成長するまで / How to set up QA team at reiwatravel
mii3king
1
1.1k
Featured
See All Featured
Writing Fast Ruby
sferik
628
61k
Code Reviewing Like a Champion
maltzj
521
39k
Product Roadmaps are Hard
iamctodd
PRO
50
11k
RailsConf 2023
tenderlove
29
1k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
129
19k
A designer walks into a library…
pauljervisheath
205
24k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
99
18k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
1k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
4 Signs Your Business is Dying
shpigford
182
22k
BBQ
matthewcrist
86
9.5k
Mobile First: as difficult as doing things right
swwweet
223
9.3k
Transcript
Developing iOS and Android Apps in Visual Studio with Xamarin
+ =
Hello, world! Greg Shackles Senior Engineer Olo
[email protected]
@gshackles github.com/gshackles
speakerdeck.com/gshackles
nycmobiledev.net @NYCMobileDev
gonemobile.io @GoneMobileCast
What is native?
The Anatomy of a Native App
The Anatomy of a Native App Native User Interfaces
The Anatomy of a Native App Native User Interfaces Native
API Access
The Anatomy of a Native App Native User Interfaces Native
API Access Native Performance
The Silo Approach Build App Multiple Times
The Write-Once-Run-Anywhere Approach Lowest Common Denominator
Xamarin’s Approach Native With Code Sharing
Base Class Libraries
Windows APIs
iOS APIs | 100% Coverage
Android APIs | 100% Coverage
Anything you can do in Objective-C or Java can
be done in C# with Xamarin using Visual Studio Pro Tip
Native Performance Xamarin.iOS does full Ahead Of Time (AOT) compilation
to produce an ARM binary for Apple’s App Store.
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."
Always Up To Date Same day support for " iOS
5, iOS 6, iOS 6.1, " iOS 7, iOS 7.1!! "
Always Up To Date Always up-to-date with the latest APIs
from Apple and Google.
Distribute Everywhere A Xamarin app is an app, distribute it
everywhere
Bring Your Favorite Libraries Json.NET Rx …and many more!
Code Sharing
File Linking
Shared Code Projects
Portable Class Libraries " • 1 Assembly" • Multiple Platforms"
• Including:" • Xamarin.Android" • Xamarin.iOS
Tools
Xamarin.Mac Xamarin Studio Xamarin Test Cloud Component Store Xamarin.iOS Xamarin.Android
Xamarin for " Visual Studio .NET Mobility Scanner
Development Environment Xamarin Studio" PC or Mac Visual Studio Plugin"
VS 2010/2012/2013
Visual Studio Integration
Visual Studio Integration Debug to:" • Emulators" • Devices" "
" Integrated into toolbar" • Status" • Logs" • List of devices" " Just Click Start Debugging!
Android Designer
iOS Designer Fully integrated into Xamarin Studio & Visual Studio
" iOS 6 & 7 Storyboard support " Intuitive event handling Support for auto-layout " Live preview of custom controls " " "
Component Store
First Class F# Support
Razor Templating
Test Cloud
Xamarin.Forms Traditional Xamarin approach
Xamarin.Forms Xamarin.Forms Traditional Xamarin approach Shared UI Code
Xamarin.Forms: What’s Included?
Xamarin.Forms: What’s Included? ▪ 40+ Pages, Layouts, and Controls ▪
Build from code or XAML
Xamarin.Forms: What’s Included? ▪ 40+ Pages, Layouts, and Controls ▪
Build from code or XAML ▪ Two-way Data Binding
Xamarin.Forms: What’s Included? ▪ 40+ Pages, Layouts, and Controls ▪
Build from code or XAML ▪ Two-way Data Binding ▪ Navigation
Xamarin.Forms: What’s Included? ▪ 40+ Pages, Layouts, and Controls ▪
Build from code or XAML ▪ Two-way Data Binding ▪ Navigation ▪ Animation API
Xamarin.Forms: What’s Included? ▪ 40+ Pages, Layouts, and Controls ▪
Build from code or XAML ▪ Two-way Data Binding ▪ Navigation ▪ Animation API ▪ Dependency Service
Xamarin.Forms: What’s Included? ▪ 40+ Pages, Layouts, and Controls ▪
Build from code or XAML ▪ Two-way Data Binding ▪ Navigation ▪ Animation API ▪ Dependency Service ▪ Messaging Center
Xamarin.Forms: Pages
Xamarin.Forms: Pages Content MasterDetail Navigation Tabbed Carousel
Xamarin.Forms: Layouts
Xamarin.Forms: Layouts Stack Absolute Relative Grid ContentView ScrollView Frame
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
None
None
Let’s Code