1) O documento discute o desenvolvimento cross-mobile com a plataforma Xamarin, permitindo compartilhar código C# entre aplicativos iOS, Android e Windows.
2) A abordagem Xamarin fornece acesso nativo às APIs com desempenho alto, ao mesmo tempo em que mantém uma base de código compartilhada.
3) Além do desenvolvimento tradicional com Xamarin, o documento apresenta o framework Xamarin.Forms que permite ainda mais código compartilhado entre plataformas de forma nativa.
7. Native Performance
• Xamarin.iOS faz compilação Ahead
of Time (AOT) em todo o código
para produzir um binário ARM para
a App Store da Apple.
• Xamarin.Android se aproveita dos
benefícios da compilação Just In
Time (JIT) no Android.
8. Tudo que você consegue fazer com Objective-C, Swift, ou Java
pode ser feito em C# e Visual Studio com Xamarin
11. Android Designer
• Criação de UI com drag
and drop
• Teste em múltiplos
tamanhos de telas,
resoluções e versões do
Android
• Layouts salvos em
arquivos XML Android
padrão
12. Android Hyper-V Emulators for PC
• Multi-Touch
• Super Rápido
• Rotaciona, tira foto,
simula localização e
mais
http://bit.ly/hyperv-android
14. Xamarin Designer for iOS
• Familiar para
desenvolvedores no Visual
Studio
• Suporte a todos elementos do
UIKit
• Edita componentes
customizados
• Live preview de mudanças
nas propriedades
15. Visual Studio iOS Simulator Remoting
• Multi-Touch
• Super rápido
• Rotaciona, tira fotos,
simula localização
• Nunca saia do Visual
Studio
18. Platform
Specific Code
E se a gente não
precisasse escrever
esses códigos?
E se eles fossem
acessíveis do código
compartilhado?
UI+APIs UI + APIsUI + 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
24. O que está incluso
✓ 40+ Pages, layouts, e controls
(code-behind ou XAML)
✓ Two-way data binding
✓ Navigation
✓ Animation API
✓ Dependency Service
✓ Messaging Center
✓ Custom Rendersrs
Shared C# Backend
Shared UI Code
33. Shared C# codebase • 100% native API access • High performance
iOS C# UI Windows C# UIAndroid C# UI
Shared C# Mobile C# Server
Linux/Mono
CoreCLRAzure
Shared C# Client/Server
Xamarin Apps + Backend Services
34. w w w . l a m b d a 3 . c o m . b r
Obrigado!
@akamud
mahmoud.ali@lambda3.com.br
Notas do Editor
Coming up next is bubbles
Xamarin Studio on Mac offers: Android, iOS and Mac development
World Class IDE with great features:
Code Analysis
Upload to Test Flight
Git & Subversion Integration
Code Completion
Code Navigation
Easy transition from Visual Studio
The same Solution & Projects open in BOTH Xamarin Studio and Visual Studio!
Inside of a page are layouts
A lot of options from something simple like a stack panel to complex and powerful grids
You have more than 40 controls, layouts, and pages to mix and match from.
These are all of the controls you have out of the box, you can of course create your own.
What is unique is you get the native control and have access to it.
Consider an Entry Field
On iOS it is mapped to UITextField
Android it is EditText
Windows Phoen it is a TextBox
Connect Web to Mobile
Simple cross platform API over:
CoreSpotlight
NSUserActivity
Google App Indexing
Easily embed any native control into a Xamarin.Forms layout.
Just add it as child to a layout.
Exposed as an Extension Method.
With Xamarin it just isn’t your front end in C# it is your full backend server as well. With Azure or even on Linux running Mono or the CoreCLR your app is fully C# end to end!