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
78
Building Scalable Applications with the Actor Model
gshackles
0
560
Creating a Voice-Driven TV Remote with Azure and Alexa
gshackles
0
91
Build 2017 Recap for Xamarin Developers
gshackles
0
90
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
2024年にチャレンジしたことを振り返るぞ
mitchan
0
150
あの日俺達が夢見たサーバレスアーキテクチャ/the-serverless-architecture-we-dreamed-of
tomoki10
0
500
podman_update_2024-12
orimanabu
1
290
怖くない!ゼロから始めるPHPソースコードコンパイル入門
colopl
0
160
型情報を用いたLintでコード品質を向上させる
sansantech
PRO
2
140
組織に自動テストを書く文化を根付かせる戦略(2024冬版) / Building Automated Test Culture 2024 Winter Edition
twada
PRO
18
5.5k
OCI技術資料 : ファイル・ストレージ 概要
ocise
3
11k
エンジニアカフェ忘年会2024「今年やらかしてしまったこと!」
keropiyo
0
100
多領域インシデントマネジメントへの挑戦:ハードウェアとソフトウェアの融合が生む課題/Challenge to multidisciplinary incident management: Issues created by the fusion of hardware and software
bitkey
PRO
2
110
コンテナセキュリティのためのLandlock入門
nullpo_head
2
330
AWS re:Invent 2024で発表された コードを書く開発者向け機能について
maruto
0
210
[トレノケ雲の会 mod.13] 3回目のre:Inventで気づいたこと -CloudOperationsを添えて-
shintaro_fukatsu
0
110
Featured
See All Featured
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.6k
Product Roadmaps are Hard
iamctodd
PRO
50
11k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.2k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
4 Signs Your Business is Dying
shpigford
182
21k
It's Worth the Effort
3n
183
28k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
1.2k
Done Done
chrislema
182
16k
How STYLIGHT went responsive
nonsquared
96
5.2k
A Philosophy of Restraint
colly
203
16k
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