Re:The not so hidden cost of sharing code between iOS and An...
by jbverschoor on Thursday August 15, 2019 @03:47AM
(#20703373)
I’m pretty happy with nativescript. It suppers typescript, different ui libs (angular, vue, and no-lib)
You can directly access native apis within your js/ts code. And they provide good cross platform defaults for widgets.
Re:The not so hidden cost of sharing code between iOS and An...
by merb on Thursday August 15, 2019 @05:42AM
(#20703841)
there is a difference between Xamarin and Xamarin.Forms, one thing is just C# => ObjC binding / C# => Java binding (C# to AOT native shared libraries and binds it into the native things), which basically SUPPORTS ALL of the native features.
so basically you can either have one application on top of a custom ui framework (xamarin.forms) or you can only share business logic, and write controllers, which feels native in c# or the native language.
i.e. without forms you can build a controller with objc or you can have the implementation in c#, and call into a shared business logic library. unfortunatly the docs are really really weak when you consider what you really can do with xamarin.
with forms you can build a ui that works on both platforms so basically you have 100% shared code.
I'd be happy to hear if the project you worked on has been cost-effective to maintain in the long term. Then at least someone has seen the mountain top!