So in my pursuit to discover cross platform solutions or frameworks for building mobile applications that target multiple platforms such as Android ,iOS and Windows Phone .
If you have already heard about these two frameworks ,I mean NativeScript and Xamarin and want to make a decision , which one to choose for you or/and maybe your team then maybe this comparison (NativeScript vs Xamarin ) can help you .
Before you can make a decision for the most suitable framework for your needs it might be a good idea to know some key information about both frameworks .
First ,you need to know that every comparison is subjective and after all the best framework for you is the one that makes you productive in less time and the one that you have skills to efficiently work with it .
The first thing you need to know about NativeScript and Xamarin is that both of them are developed by big software companies .Xamarin is owned by the giant and well known company Microsoft where NativeScript is built by Telerik .
To build apps with Xamarin you need to know C# ,which a Java like language built by Microsoft .
Xamarin is owned by Microsoft which also owns Visual Studio the best development IDE in the world so you can have better integration between the two tools .
Xamarin is open source so you know open source means a great community and many other benefits .
What most developers don't like about Xamarin is the code recompilation process.You may think ,this is not a big problem but in practice when you are developing and testing your app in a real device ,this process may take some time depending on your machine power and may become worst depending on your machine conditions so it may be not important for you right now but when you start developing you are going to notice .
Also with NativeScript ,you can very easily use any native platform library (For Java or Swift) .You can also built plugins or just look for the available plugins developed by other experienced Java or Swift developers .
With TypeScript ,you can use a subset of CSS so you the power for building your UI using modern web technologies .
Just like Xamarin ,NativeScript is open source too .