Presentation is loading. Please wait.

Presentation is loading. Please wait.

Cross-platform app development

Similar presentations


Presentation on theme: "Cross-platform app development"— Presentation transcript:

1 Cross-platform app development
Xamarin forms Cross-platform app development

2 Glenn Versweyveld @depechie Xamarin MVP
Microsoft Windows Development MVP

3 What is Xamarin Forms Build native Uis for iOS, Android and Windows from a single, shared C# codebase Xamarin forms

4 What is Xamarin Forms Shared UI Code Shared C# Backend
iOS C# UI Windows C# UI Android C# UI Shared C# Backend Traditional Xamarin approach Xamarin Forms More code-sharing, all native Xamarin forms

5 More code-sharing, all native
What is Xamarin Forms We get an API which allows us to build sharable user interface code Will still render native UI on iOS, Android and Windows Not only the application logic, but also the UI is contained within the shared project UI can be coded in C# or declared in XAML Shared C# Backend Shared UI Code Xamarin Forms More code-sharing, all native Xamarin forms

6 What is Xamarin Forms Xamarin Forms is a cross-platform natively backed UI toolkit abstraction that allows developers to easily create user interfaces that can be shared across all targeted platforms ( iOS, Android and Windows ). It allows rapid application development It’s an abstraction on top of the native OS and UI elements It will result in native apps with native look and feel Xamarin forms

7 What is Xamarin Forms All forms apps are currently written in C#
If needed you can dig into the native OS like the traditional Xamarin approach The shared code resides in a Shared Project or a PCL Newer way is using .Net Standard 2.0 class library Xamarin forms

8 Features 40+ Pages, layouts, and controls Two-way data binding
(Build from code behind or XAML) Two-way data binding Navigation Animation API Dependency Service Messaging Center Xamarin forms

9 Features Xamarin forms Content MasterDetail Navigation Tabbed Carousel
Stack Absolute Relative Grid ContentView ScrollView Frame Xamarin forms

10 Features ActivityIndicator BoxView Button DatePicker Editor Entry
Image Label ListView Map OpenGLView Picker ProgressBar SearchBar Slider Stepper TableView TimePicker WebView EntryCell ImageCell SwitchCell TextCell ViewCell Xamarin forms

11 Features Xamarin forms <?xml version="1.0" encoding="UTF-8"?>
<TabbedPage xmlns=" xmlns:x=" x:Class="MyApp.MainPage"> <TabbedPage.Children> <ContentPage Title="Profile" Icon="Profile.png"> <StackLayout Spacing="20" Padding="20" VerticalOptions="Center"> <Entry Placeholder="Username" Text="{Binding Username}"/> <Entry Placeholder="Password" Text="{Binding Password}" IsPassword="true"/> <Button Text="Login" TextColor="White" BackgroundColor="#77D065" Command="{Binding LoginCommand}"/> </StackLayout> </ContentPage> <ContentPage Title="Settings" Icon="Settings.png"> <!-- Settings --> </TabbedPage.Children> </TabbedPage> Xamarin forms

12 Community Fully Open Source – source code available on GitHub
Xamarin forms

13 Community Public Roadmap: aka.ms/xfroadmap 70 contributors*
700 merged pull requests* 37 evolution proposals* * At time of creating powerpoint Xamarin forms

14 Xamarin Forms Demo Xamarin forms

15 The future Easily embed any page into a Xamarin Native app
Xamarin forms

16 The future Run and design apps without the actual build / debug process Xamarin Live Player Still in preview Xamarin forms

17 Questions Xamarin forms


Download ppt "Cross-platform app development"

Similar presentations


Ads by Google