Xamarin - Victim of Phonegap’s horrible reputation
Jun. 2, 2016•0 likes
1 likes
Be the first to like this
Show More
•812 views
views
Total views
0
On Slideshare
0
From embeds
0
Number of embeds
0
Download to read offline
Report
Mobile
One of the biggest challenges we've faced was to explain how different Xamarin is from other crossplatform solutions we've already tried - and failed miserably.
What is Xamarin?
• C#
• bought by Microsoft and integrated with Visual Studio
• open source
• FREE
• created by genius (Miguel de Icaza, Midnight
Commander, GNOME, Gnumeric, uses OSX, never
received a degree)
Why You should forget
everything You hate about
Cordova based solutions?
Xamarin is not Phonegap
• iOS: 100% native ARM,
~ 1% slower than native Swift
~ 30% faster than Objective-C
• Android: Dalvik / ART <-> Mono VM bridge
~ 260% faster* than native Java ;)
github.com/harrycheung/Mobile-App-Performance
Xamarin is not Phonegap
github.com/harrycheung/Mobile-App-Performance
0.427s
0.490s
0.745s
3.012s
Swift
Xamarin
Objective-C
Cordova
Xamarin is not Phonegap
github.com/harrycheung/Mobile-App-Performance
0.461s
1.120s
2.948s
8.878s
C++
Android
Xamarin
JAVA
Android
Cordova
How can i start?
• Download Xamarin Alpha Channel from xamarin.com
• Clone example for this keynote from
github.com/GaborWnuk/xamarin-weather-example
• Listen carefully.
How can i start: project
structure for Xamarin.Forms
• Shared project, shared between
Android and iOS
• Android project
• iOS project
How can i start: shared project
• Database
• Network Communication
• Other business logic consistent
across all platforms
• In our case - UI
How can i start: Android
• Platform specific code base
• Platform specific UI
• Platform specific assets (hdpi,
xhdpi, xxhdpi and so on)
• All of above is optional
How can i start: iOS
• Platform specific code base
• Platform specific UI
• Platform specific assets (also
vector)
• Access to Storyboard
• All of above is optional