Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Desarrollo nativo para Android, iOS y Windows c...

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers. →

Desarrollo nativo para Android, iOS y Windows con Xamarin

Mauricio Contreras

September 01, 2018

Transcript

39 slides
  1. Enfoque Silo iOS Android Windows Objective-C Swift Xcode Java Kotlin

    Android Studio C# Visual Studio Sin código compartido • Varios lenguajes y ambientes de desarrollo• Múltiples equipos
  2. Escribe una vez, corre en todos lados Lu a Javascript

    Actionscript HTML+CSS Acceso limitado a API nativas • Rendimiento lento • UX pobre App generator
  3. iOS C# UI Android C# UI Windows C# UI Shared

    C# logic El enfoque único de Xamarin Shared C# codebase • 100% native API access • High performance
  4. Windows APIs Microsoft.Phone Microsoft.Networking Windows.Storage Windows.Foundation Microsoft.Devices System.Net System System.IO

    System.Linq System.Xml System.Data System.Windows System.Numerics System.Core System.ServiceModel C#
  5. Android – 100% de acceso a APIs Text-to-speech ActionBar Printing

    Framework Renderscript NFC System.Net System System.IO System.Linq System.Xml System.Data System.Windows System.Numerics System.Core System.ServiceModel C#
  6. iOS – 100% de acceso a APIs MapKit UIKit iBeacon

    CoreGraphics CoreMotion System.Net System System.IO System.Linq System.Xml System.Data System.Windows System.Numerics System.Core System.ServiceModel C#
  7. ✓ Siempre actualizado Soporte el mismo día: • iOS 5

    • iOS 6 • iOS 7 • iOS 8 • iOS 9 • iOS 10 • iOS 11 Soporte completo para: • Apple Watch • Apple TV • Android Wear • Amazon Fire TV • Y mucho más
  8. Xamarin Native 3 Interfaces de Usuario Nativas Lógica de la

    App compartida iOS C# Android C# Windows C# Shared C# Logic
  9. Estadísticas de código compartido Mac iO S Android Windows Phone

    iCircuit Touch Draw 86 % 14% 72 % 28 % 30% 70% 61% 39% 88% 12% 76% 24% 90% 10%
  10. Construye UIs para iOS, Android y Windows desde un mismo

    código C# compartido. Conóce Xamarin.Forms
  11. UI Nativa desde código compartido <?xml version="1.0" encoding="UTF-8"?> <TabbedPage xmlns="http://xamarin.com/schemas/2014/forms"

    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" 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 --> </ContentPage> </TabbedPage.Children> </TabbedPage>
  12. Código de plataforma específico ¿Y si no tuvieramos que escribir

    este Código? ¿Y si pudiéramos acceder a éste desde el código compartido? UI+APIs UI + APIs UI + APIs Battery GPS Lights Notifications Settings Text To Speech Battery GPS Lights Notifications Settings Text To Speech Battery GPS Lights Notifications Settings Text To Speech
  13. Qué incluye ✓+40 Paginas, layouts, y controles (Construidos desde code

    behind o XAML) ✓ Two-way data binding ✓ Navegación ✓ API de Animación ✓ Dependency Service ✓ Messaging Center Shared UI Code Shared C# Logic
  14. ActivityIndicator BoxView Button DatePicker Editor Entry Image Label ListView Map

    OpenGLView Picker ProgressBar SearchBar Slider Stepper TableView TimePicker WebView EntryCell ImageCell SwitchCell TextCell ViewCell Controles

More Decks by Mauricio Contreras

Other Decks in Programming