万本电子书0元读

万本电子书0元读

顶部广告

iOS Development with Xamarin Cookbook电子书

售       价:¥

5人正在读 | 0人评论 9.8

作       者:Dimitris Tavlikos

出  版  社:Packt Publishing

出版时间:2014-05-23

字       数:304.0万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
The book is written in a recipe format with practical examples, allowing you to go directly to your topic of interest or follow topics throughout a chapter to gain an indepth knowledge. There are also plenty of hints and best practices along the way. If you are a C#/.NET developer with no previous experience in iOS development or an ObjectiveC developer who wants to create complete iOS applications and deploy them to the App Store, then this book is ideal for you. No experience with Xamarin is needed.
目录展开

iOS Development with Xamarin Cookbook

Table of Contents

iOS Development with Xamarin Cookbook

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. Development Tools

Introduction

Installing prerequisites

Getting ready

How to do it...

How it works...

Xcode

Interface Builder

iOS Simulator

There's more...

Useful links

Updates

See also

Creating an iOS project with Xamarin Studio

Getting ready...

How to do it...

How it works...

MyFirstiOSProjectViewController.xib

MyFirstiOSProjectViewController.cs

MyFirstiOSProjectViewController.designer.cs

AppDelegate.cs

Main.cs

Info.plist

There's more...

List of Xamarin.iOS assemblies

See also

Interface Builder

How to do it...

How it works...

There's more...

More information

See also

Creating the UI

Getting ready

How to do it...

Adding a label

Adding a button

How it works...

There's more...

Setting titles on Buttons

See also

Accessing the UI with Outlets

Getting ready

How to do it...

How it works...

There's more...

Adding Outlets through code

See also

Adding Actions to controls

Getting ready

How to do it...

How it works...

There's more...

See also

Compiling an iOS project

Getting ready

How to do it...

How it works...

iOS build options

iOS application options

There's more...

See also

Debugging our application

Getting ready

How to do it...

How it works...

There's more...

App performance when debugging

Breakpoints in FinishedLaunching

See also

2. User Interface – Views

Introduction

Adding and customizing views

Getting ready

How to do it...

How it works...

There's more...

Adding views programmatically

View content layout

See also

Receiving user input with buttons

Getting ready

How to do it...

How it works...

There's more...

Changing the appearance of buttons

See also

Displaying images

Getting ready

How to do it...

How it works...

There's more...

Using images for different screen sizes

See also

Displaying and editing text

Getting ready

How to do it...

How it works...

There's more...

See also

Using the keyboard

Getting ready

How to do it...

How it works...

There's more...

See also

Displaying progress

Getting ready

How to do it...

How it works...

There's more...

UIProgressView height

See also

Displaying content larger than the screen

Getting ready

How to do it...

How it works...

There's more...

UIScrollView events

See also

Navigating through the content divided into pages

Getting ready

How to do it...

How it works...

There's more...

Proper usage of UIPageControl

See also

Displaying alerts

Getting ready

How to do it…

How it works...

There's more...

See also

Creating a custom view

Getting ready

How to do it...

How it works...

There's more...

See also

Styling views

Getting ready

How to do it…

How it works…

There's more…

Limitations of UIAppearance

See also

3. User Interface – View Controllers

Introduction

Loading a view with a view controller

Getting ready

How to do it...

How it works...

There's more...

UIViewController methods to override

See also

Navigating through different view controllers

Getting ready

How to do it...

How it works...

There's more...

Managing navigation bar buttons

See also

Providing controllers in tabs

Getting ready

How to do it…

How it works...

There's more...

Useful UITabBarController properties

Determining tab selection

See also

Modal view controllers

Getting ready

How to do it…

How it works...

There's more...

Accessing a modal controller

How many modal controllers?

See also

Creating a custom view controller

Getting ready

How to do it...

How it works...

There's more...

See also

Using view controllers efficiently

Getting ready

How to do it…

How it works...

There's more...

See also

iPad view controllers

Getting ready

How to do it…

How it works...

There's more...

iPad-specific controller usage

See also

UI flow design with storyboards

Getting ready

How to do it...

How it works...

There's more...

Passing data

See also

Unwinding in storyboards

Getting ready

How to do it…

How it works…

There's more…

Where is the unwind segue in the storyboard?

See also

4. Data Management

Introduction

Creating files

Getting ready

How to do it…

How it works...

There's more...

The Documents folder

The Caches folder

See also

Using a SQLite database

Getting ready

How to do it...

How it works...

There's more...

SQL table creation

See also

Preparing for iCloud support

Getting ready

How to do it...

How it works...

There's more...

See also

iCloud key/value storage

Getting ready

How to do it...

How it works...

There's more...

Getting notified on key/value store changes

See also

5. Displaying Data

Introduction

Providing lists

Getting ready

How to do it...

How it works...

There's more...

More UIPickerView customization

Date and time selection

See also

Displaying data in a table

Getting ready

How to do it...

How it works...

There's more...

The UITableView styles

The UITableViewCell styles

See also

Customizing rows

Getting ready

How to do it...

How it works...

There's more...

Useful properties of the UITableViewCell class

UINib class

Adding content programmatically

See also

Editing a table

Getting ready

How to do it...

How it works...

There's more...

Enabling editing modes for individual rows

See also

Table indexing

Getting ready

How to do it...

How it works...

There's more...

See also

Searching through the data

Getting ready

How to do it...

How it works...

There's more...

See also

Creating a simple web browser

Getting ready

How to do it...

How it works...

There's more...

Scaling the content

UIWebView supported files

Displaying data in a grid

Getting ready

How to do it...

How it works...

There's more...

More information on UICollectionView

See also

Customizing the grid

Getting ready

How to do it...

How it works...

There's more...

See also

6. Web Services

Introduction

Consuming web services

Getting ready

How to do it...

How it works...

There's more...

Invoking web service methods asynchronously

The XSP shutdown

See also

Consuming REST services

Getting ready

How to do it...

How it works...

There's more...

See also

Communicating with native APIs

Getting ready

How to do it…

How it works…

There's more…

Synchronous NSUrlConnection

Usability

See also

Using WCF services

Getting ready

How to do it...

How it works...

There's more...

More information on Xamarin Studio's WCF support

WCF service creation

See also

7. Multimedia Resources

Introduction

Selecting images and videos

Getting ready

How to do it...

How it works...

There's more...

Picking videos

See also

Capturing media with the camera

Getting ready

How to do it...

How it works...

There's more...

Image editing

See also

Playing videos

Getting ready

How to do it...

How it works...

There's more...

Wireless streaming

See also

Playing music and sounds

Getting ready

How to do it...

How it works...

There's more...

Playing sound files

See also

Recording with the microphone

Getting ready

How to do it...

How it works...

There's more...

Recording for a predefined amount of time

See also

Managing album items directly

Getting ready

How to do it...

How it works...

There's more...

Reading EXIF data

Retrieving individual assets

Checking for permission

See also

8. Integrating iOS Features

Introduction

Starting phone calls

Getting ready

How to do it...

How it works...

There's more...

More information on OpenUrl

See also

Sending text messages and e-mails

Getting ready

How to do it...

How it works...

There's more...

More information on opening external apps

See also

Using text messaging in our application

Getting ready

How to do it...

How it works...

There's more...

Attachments

Using e-mail messaging in our application

Getting ready

How to do it...

How it works...

There's more...

See also

Managing the address book

Getting ready

How to do it...

How it works...

There's more...

Adding a phone number to a contact

Displaying contacts

Getting ready

How to do it...

How it works...

There's more...

Other address book controllers

See also

Managing the calendar

Getting ready

How to do it...

How it works...

There's more...

Reminders

See also

9. Interacting with Device Hardware

Introduction

Detecting the device orientation

Getting ready

How to do it...

How it works...

There's more...

The device orientation and user interface orientation

See also

Adjusting the UI orientation

Getting ready

How to do it...

How it works...

There's more...

User interface orientation on child controllers

See also

Proximity sensor

Getting ready

How to do it...

How it works...

There's more...

See also

Retrieving the battery information

Getting ready

How to do it...

How it works...

There's more...

Disabling battery monitoring

See also

Handling motion events

Getting ready

How to do it...

How it works...

There's more...

More information on motion events

See also

Handling touch events

Getting ready

How to do it...

How it works...

There's more...

Getting the tap count

See also

Recognizing gestures

Getting ready

How to do it...

How it works...

There's more...

The advantage of gesture recognizers

See also

Custom gestures

Getting ready

How to do it...

How it works...

There's more...

Another use of custom gesture recognizers

See also

Using the accelerometer

Getting ready

How to do it...

How it works...

There's more...

Consideration when using the accelerometer

See also

Using the gyroscope

Getting ready

How to do it...

How it works...

There's more...

Determining the availability of the gyroscope hardware

Converting radians to degrees

See also

10. Location Services and Maps

Introduction

Determining location

Getting ready

How to do it...

How it works...

There's more...

GPS accuracy

Location services availability

Location services usage indicator

See also

Determining heading

Getting ready

How to do it...

How it works...

There's more...

Magnetic vs true heading

Compass availability

See also

Using region monitoring

Getting ready

How to do it...

How it works...

There's more...

Region monitoring availability

See also

Using a significant-change location service

Getting ready

How to do it...

How it works...

There's more...

Significant-change location service availability

See also

Location services in the background

Getting ready

How to do it...

How it works...

There's more...

Restricting to supported hardware

UI updates while in the background

See also

Displaying maps

Getting ready

How to do it...

How it works...

There's more...

See also

Geocoding

Getting ready

How to do it...

How it works...

There's more...

Things to have in mind for CLGeocoder

Obsolete API

See also

Adding map annotations

Getting ready

How to do it...

How it works...

There's more...

An annotation's performance

See also

Adding map overlays

Getting ready

How to do it...

How it works...

There's more...

Creating custom overlays

Standard overlay objects

See also

11. Graphics and Animation

Introduction

Animating views

Getting ready

How to do it...

How it works...

There's more...

Animatable properties

Transforming views

Getting ready

How to do it...

How it works...

There's more...

Transformation and Frame

See also

Animating images

Getting ready

How to do it...

How it works...

There's more...

Checking for animation

See also

Animating layers

Getting ready

How to do it...

How it works...

There's more...

Layers

See also

Drawing lines and curves

Getting ready

How to do it...

How it works...

There's more...

Graphics context on a UIImageView class

See also

Drawing shapes

Getting ready

How to do it...

How it works...

There's more...

Transparent colors

See also

Drawing text

Getting ready

How to do it...

How it works...

There's more...

Size of the drawn text

See also

A simple drawing app

Getting ready

How to do it...

How it works...

There's more...

Clear the drawing

See also

Creating an image context

Getting ready

How to do it...

How it works...

There's more...

Drawing on UIImageView

Background on saved drawings

See also

12. Multitasking

Introduction

Detecting application states

Getting ready

How to do it...

How it works...

There's more...

Proper usage

Receiving notifications for app states

Getting ready

How to do it...

How it works...

There's more...

Removing notification observers

See also

Running code in the background

Getting ready

How to do it...

How it works...

There's more...

Important considerations for the background code

See also

Playing audio in the background

Getting ready

How to do it...

How it works...

There's more...

The background state for audio

See also

Updating data in the background

Getting ready

How to do it...

How it works...

There's more

UI updates

See also

13. Localization

Introduction

Creating an app for different languages

Getting ready

How to do it...

How it works...

There's more...

Localization in real-world app scenarios

The localizable.strings encoding

Localizable resources

Getting ready

How to do it...

How it works...

There's more...

More information on localizable resources

See also

Regional formatting

Getting ready

How to do it...

How it works...

There's more...

14. Deploying

Introduction

Creating profiles

How to do it...

How it works...

There's more...

Expiration of provisioning profiles

See also

Creating an ad hoc distribution bundle

Getting ready

How to do it...

How it works...

There's more...

Syncing ad hoc app bundles with iTunes

See also

Preparing an app for the App Store

Getting ready

How to do it...

How it works...

There's more...

The 4-inch screen launch image

See also

Submitting an app to the App Store

Getting ready

How to do it...

How it works...

There's more...

See also

15. Advanced Features

Introduction

Reproducing the page curl effect

Getting ready

How to do it...

How it works...

There's more...

Double-sided pages

Integrating content sharing

Getting ready

How to do it...

How it works...

There's more...

Implementing custom transitions

Getting ready

How to do it...

How it works...

There's more...

Transitioning between child controllers

See also

Using physics in UI elements

Getting ready

How to do it...

How it works...

There's more...

UIKit Dynamics usage

Implementing the text-to-speech feature

Getting ready

How to do it…

How it works…

There's more...

Adjusting the utterance

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部