university.xamarin.com
Microsoft: Your Complete Mobile Solution
What we will cover
Create an iOS app,
design the UI,
explore MVC
Build and run on simulator and device
Xamarin’s unique approach
Windows C# UI
Shared C# codebase • 100% native API access • High performance
iOS
What is Xamarin.iOS?
C# source Native performance
iOS
Xamarin.iOS execution
UNIX Kernel
Objective-C Runtime
iOS APIs
Mono Runtime
Binary
.NET
APIs
Your C#
compiled
to binary
Xamarin.iOS – 100% API coverage
MapKit UIKit iBeacon CoreGraphics CoreMotion
System.Data System.Collections System.Numerics System.Core System.ServiceModel
System.Net System System.IO System.Linq System.Xml
C#
Always up-to-date
Same-day support
for new iOS versions
iOS
Xamarin.iOS platform support
Supports all iOS devices
Open Source – open.xamarin.com
Develop on Mac or Windows
Microsoft Visual Studio
on Windows
Visual Studio for Mac
on macOS (preview)
Parts of the build
are done on the
networked Mac
• Multi-touch and pressure-sensitive
interaction
• Supports rotation, screenshots,
and location changes
• Performant
Remote iOS Simulator for Windows
iOS APIs are designed around the
Model-View-Controller (MVC) pattern
What is MVC?
Model
Controller
ViewUser Interface
Behavior
Data
The Model contains data, information and logic (business layer)
The Model
Calculation
Functions
Data EntitiesValidation
Logic
Persistence
Logic
Processing
Logic
…
The View contains the visual components
the user sees and interacts with
The View
User
Action
The Controller is the moderator between the view and the model
The Controller
View Model
Update data
NotifyUpdate
UI
Controller
iOS
MVC in Xamarin
View
Model
Controller
MVC in Xamarin
View
Model
Controller
Model is
sharable
iOS
Xamarin.iOS UI is built from Apple’s controls and layout panels, wrapped in
C# by Xamarin
iOS UI
Using native controls gives a native look
and feel
Native UX
UI creation
C#Programmatically
for dynamic UIs
Visual Studio Designer
on Windows or macOS
Xcode Designer
on macOS
Get Started Todayxamarin.com/download
Free self-guided courses
Q&A
Samples available at:
aka.ms/first-ios-with-xamarin