News for hackers. Stuff that matters.
Re:Some thoughts after (almost) a year of real Xamarin use by golergka on Saturday April 04, 2015 @05:31PM (#9322277)
Is it possible to do logic code in Xamarin and develop UI natively for each platform?
Re:Some thoughts after (almost) a year of real Xamarin use by JamesMontemagno on Saturday April 04, 2015 @08:50PM (#9322715)
The approach with Xamarin is that you are able to build out a shared C#/.NET business logic layer. All of your platform independent code such as Models, ViewModels, Database code, Restful Service calls, etc. You get to use the power of C# and .NET to build this out. Then you build out user interfaces for iOS, Android, and Windows and tie this logic all together. Xamarin apps are native so you follow the same paradigms for building the UIs out such as Android XML and iOS Storyboard or XIB files, but you can build these out in the Xamarin Designers for both iOS and Android inside of Visual Studio or Xamarin Studio.

On the code behind side of iOS/Android (UIViewController or Activity) you write all of this in C# with C# features like LINQ, events, delegates, etc. and you have access to 100% of the iOS and Android APIs of the platform as well.

Now we do have the Xamarin.Forms library which adds on top of this to build on a shared UI layer for iOS, Android, and Windows Phone as well. However it is not for every app and we have guidance at www.xamarin.com/forms. Hopefully this is a nice overview of the platform.

Re:Some thoughts after (almost) a year of real Xamarin use by izacus on Saturday April 04, 2015 @06:10PM (#9322393)
That's actually the way Xamarin works the best - you usually don't develop UI natively, but use Xamarin's wrappers for native UI elements for each platform separately. They're not all that compatible when it comes to UI and UX anyway.
Re:Some thoughts after (almost) a year of real Xamarin use by moljac on Saturday April 04, 2015 @06:03PM (#9322373)
yup.

Xain is native... if you are picky enough "subnative"