售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Learning Xamarin Studio
Table of Contents
Learning Xamarin Studio
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
Errata
Piracy
Questions
1. Installing and Setting Up Xamarin Studio
Xamarin Studio pricing plans
Starter
Indie
Business
Enterprise
Understanding the pricing structure
An example company
Xamarin Studio platform options
Xamarin.Android
Xamarin.iOS
Xamarin.Mac
Installing development components
Installing Xcode and the iOS SDK
Installing Xcode from the App Store
Installing Xcode manually
Finishing the Xcode installation
Installing Xamarin Studio
Apple Developer Program
Google Play Developer Program
Setting up simulators and emulators
iOS simulators
Android emulators
Creating a Nexus 7 AVD using the AVD Manager
Creating a Samsung Galaxy S4 AVD using the SDK and AVD Manager
Improving AVD performance
Intel x86 Atom System Image
Hardware Acceleration Execution Manager
Run from Snapshot
Third-party AVD options
Setting up test devices
Setting up iOS devices
Obtaining a development certificate
Provisioning your devices
Setting up Android devices
Enabling debugging on your device
Installing USB drivers and connecting your device
Setting up source control
Additional resources for cross-platform developers
Xamarin resources
Third-party resources
Summary
2. Learning and Customizing the XS Environment
The Xamarin Studio IDE
Creating your first iOS application
Creating your first Android application
The Solution pad
Design pads
Information pads
Application, File, and Edit menus
View and Search menus
The Project menu
Build and Run menus
The Version Control menu
Tools, Window, and Help menus
Solution Options
The General group
The Build and Run groups
The Source Code group
The Version Control group
Project Options
The General group
The Build group
iOS-specific panes
The General tab
The Advanced tab
Android-specific panes
The Packaging tab
The Linker tab
The Advanced tab
The Run group
Source Code and Version Control groups
Environment preferences
Environment
Projects
Text Editor
Source Code, Version Control, Other, and Packages groups
Summary
3. Working with Xcode and the Android SDK
Introduction to Xcode
Toolbar
The navigator area
The utility area
The debug area
The editor area
Outlets and Actions
Outlets
Actions
Adding Outlets and Actions
Adding a ViewController to our project
How it works
XIB, NIB, DESIGNER, and STORYBOARD files
Xamarin Studio Designer for iOS
Creating a storyboard in Xamarin Studio
How it works
Android SDK Manager
Android Layouts
Xamarin Studio Designer for Android
Creating a Layout in Xamarin Studio
How it works
Summary
4. Plugins, Templates, Libraries, and Files
Installing the Visual Studio plugin
Configuring your Mac
Configuring your Windows machine
Configuring a Windows VM within Mac
Final installation steps
Configuring the Visual Studio toolbar
Creating an iPhone application in Visual Studio
How it works
Project templates
iOS project templates
Android project templates
Mac and Mac (open source) project templates
Libraries
Portable Class Library
Binding Project
iOS Binding Project
Java Bindings Library
Files
Summary
5. Working with Xamarin.Forms
Requirements for using Xamarin.Forms
The Xamarin.Forms project templates
The components of Xamarin.Forms
Data binding
Components
Navigation
The API design
How it works
The XAML design
How it works
Summary
6. Application Lifecycle
The iOS application lifecycle
The AppDelegate class
UIViewController lifecycle methods
Examining iOS lifecycles
Examining the application lifecycle
The Android application lifecycle
Understanding application lifecycle
Activity lifecycle methods
Configuration changes
Examining application states
Examining the Activity lifecycle
The background state
Summary
7. Testing and Debugging
The Xamarin debugger
Unit tests
Touch.Unit and Andr.Unit
Creating a unit test project
Running the tests
How it works
Simulators
Testing in an iOS simulator
Running the tests
How it works
Testing in an Android emulator
Running the tests
How it works
Device testing
Testing on an iOS device
Testing on an Android device
TestFlight
Setting up a TestFlight account
Instruments
Device Monitor
Logs
Other testing considerations
Summary
8. Deployment
Deploying iOS applications
Distribution provisioning profile
Generating a production certificate signing request
Submitting a production certificate signing request
Creating the App ID
Creating and installing the distribution profile
Build configuration
Bundle signing
Publishing your application
Setting up an iTunes Connect account
Creating the application page
Uploading the binary
Deploying Mac applications
Installing Developer Certificates
Registering a Mac App ID
Creating a Mac App Development certificate
Creating Mac App Store Certificates
Creating a Developer ID Certificate
Registering the Mac OS X development machine
Creating the development provisioning profiles
Creating the production provisioning profiles
Setting the app configuration
Signing your application for direct deployment
Build for direct deployment
Signing your application for deployment to the Mac App Store
Build for Mac App Store deployment
Deploying to the Mac App Store
Deploying Android applications
Preparing your application for release compile
Creating a private keystore
Signing the APK
Publishing to the Google Play Store
Summary
A. Images and Graphics Tables
iOS application icons
iOS 3.5-inch Retina display screenshots
iOS 4-inch Retina display screenshots
iOS iPad screenshots
Mac OS X app screenshots
Android application icons
Android screenshots
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜