Hacker News new | ask | show | jobs
by tacos 3706 days ago
I too hate cross-platform schlockware but it sounds like you are not familiar with the technology.

"controls are mapped to platform-specific native user interface elements; for example, a Xamarin.Forms Entry becomes a UITextView on iOS, an EditText on Android, and a TextBox on Windows."

https://www.xamarin.com/forms

1 comments

Interesting. I was unaware that Xamarin maps widgets like that. Thanks for enlightening me. :-)

How does it abstract away the more fundamental differences between platforms Activities/Fragments vs. UIViewControllers?

You win some you lose some. With Fragments Xamarin actually extends support to earlier Android devices. Less of an issue now, but there was a time when this actually extended platform reach, reduced code, and simplified training/upgrades.

For some things it's about the common talk-to-the-backend code, not true-code-once across iOS/Android...