CHAPTER 9
Cross-Platform Architecture
At the outset of this book, I mentioned the unicorn of mobile development: write once, deploy anywhere. In the quest for this unicorn, the fair maiden that might entice this beast to appear is cross-platform design.
The entirety of the Xamarin platform already provides a foundation of cross-platform design, but you can further the cause by understanding and thoughtfully implementing cross-platform architecture.
What is cross-platform architecture?
It begins with two kinds of code.
Shared Code and Platform-Specific Code
A Xamarin app can be broken down into the two types of code found in it:
- Shared code
Get Xamarin Mobile Application Development: Cross-Platform C# and Xamarin.Forms Fundamentals now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.