0%

Book Description

Summary

Xamarin in Action teaches you to build cross-platform mobile apps using Xamarin and C#. You'll explore all the layers of a Xamarin app, from design to deployment. By the end, you'll be able to build a quality, production-ready Xamarin app on iOS and Android from scratch with a high level of code reuse.

About the Technology

Rewriting the same app for iOS and Android is tedious, error-prone, and expensive. Microsoft's Xamarin drastically reduces dev time by reusing most application code--typically 70% or more. The core of your iOS and Android app is shared; you write platform-specific code only for the UI layer. And because Xamarin uses C#, your apps benefit from everything this modern language and the .NET ecosystem have to offer.

About the Book

Xamarin in Action teaches you to build cross-platform mobile apps using Xamarin and C#. You'll explore all the layers of a Xamarin app, from design to deployment. Xamarin expert Jim Bennett teaches you design practices that maximize code reuse and isolate device-specific code, making it a snap to incorporate the unique features of each OS.

What's inside

  • Understanding MVVM to maximize code reuse and testability
  • Creating cross-platform model and UI logic layers
  • Building device-specific UIs
  • Unit and automated UI testing
  • Preparing apps for publication with user tracking and crash analytics

About the Reader

Readers should have some experience with C#. Mobile development experience is helpful, but not assumed.

About the Author

Jim Bennett is a Xamarin MYP, Microsoft MVP, and Senior Cloud Developer Advocate at Microsoft, specializing in Xamarin mobile apps. He's a frequent speaker at events all around the world, including Xamarin user groups and Xamarin and Microsoft conferences. He regularly blogs about Xamarin development at https://jimbobbennett.io.

Table of Contents

  1. Copyright
  2. Brief Table of Contents
  3. Table of Contents
  4. Foreword
  5. Preface
  6. Acknowledgments
  7. About this book
  8. About the cover illustration
  9. Part 1. Getting started with Xamarin
    1. Chapter 1. Introducing native cross-platform applications with Xamarin
    2. Chapter 2. Hello MVVM—creating a simple cross-platform app using MVVM
    3. Chapter 3. MVVM—the model-view–view model design pattern
    4. Chapter 4. Hello again, MVVM—understanding and enhancing our simple MVVM app
    5. Chapter 5. What are we (a)waiting for? An introduction to multithreading for Xamarin apps
  10. Part 2. Building apps
    1. Chapter 6. Designing MVVM cross-platform apps
    2. Chapter 7. Building cross-platform models
    3. Chapter 8. Building cross-platform view models
    4. Chapter 9. Building simple Android views
    5. Chapter 10. Building more advanced Android views
    6. Chapter 11. Building simple iOS views
    7. Chapter 12. Building more advanced iOS views
  11. Part 3. From working code to the store
    1. Chapter 13. Running mobile apps on physical devices
    2. Chapter 14. Testing mobile apps using Xamarin UITest
    3. Chapter 15. Using App Center to build, test, and monitor apps
    4. Chapter 16. Deploying apps to beta testers and the stores
  12. Appendix A. UI flows and threads for SquareRt and Countr
  13. Appendix B. Using MVVM Light instead of MvvmCross
  14. Appendix C.
  15. Appendix D.
  16. Index
  17. List of Figures
  18. List of Tables
  19. List of Listings
3.21.106.69