Xamarin Cross-platform Application Development, 2nd Edition.pdf

(8485 KB) Pobierz
www.it-ebooks.info
www.it-ebooks.info
Xamarin Cross-platform Application
Development Second Edition
www.it-ebooks.info
Table of Contents
Xamarin Cross-platform Application Development Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Setting Up Xamarin
The Xamarin tools
Installing Xcode
Installing Xamarin
Choosing a Xamarin license
Setting up the Android emulator
Enrolling in the iOS Developer Program
Registering as a Google Play developer
Summary
www.it-ebooks.info
2. Hello, Platforms!
Building your first iOS application
Understanding Apple’s MVC pattern
Using the iOS designer
Building your first Android application
Android activities
Xamarin’s Android designer
Summary
3. Code Sharing between iOS and Android
Learning the MVVM design pattern
Implementing MVVM in an example
Comparing project organization strategies
Setting up a cross-platform solution
Working with Portable Class Libraries
Using PCLs in Xamarin
Using preprocessor statements
Simplifying dependency injection
Implementing Inversion of Control
Summary
4. XamChat – a Cross-platform App
Starting our sample application concept
Developing our Model layer
Writing a mock web service
Writing the ViewModel layer
Implementing our LoginViewModel class
Implementing our RegisterViewModel class
Implementing our FriendViewModel class
Implementing our MessageViewModel class
Writing unit tests
Setting up a new project for unit tests
Writing assertions
www.it-ebooks.info
Zgłoś jeśli naruszono regulamin