DecodingiOS6.pdf
(
34545 KB
)
Pobierz
Rockablepress.com
Envato.com
© Rockable Press 2013
All rights reserved. No part of this publication may be
reproduced or redistributed in any form without
the prior written permission of the publishers.
3
Contents
Chapter 1: iOS 6 SDK Essentials
Theoretical Overview
New Hardware Released in 2012
New iOS 6 SDK Frameworks
Key UIKit Updates
Noteworthy Framework Updates
Xcode Releases in 2012
Writing Backwards Compatible Code
Tutorial Project
Step 1: Project Creation
Step 2: Initial Project Configuration
Step 3: Create the IBOutlet Properties
Step 4: iPad Interface Setup
Step 5: iPhone Interface Setup
Step 6: Add a Quotation Model Object
Step 7: Set the Time
Step 8: Load the Quotations
Step 9: Update the Quotation Text
Step 10: Backwards Compatibility
Wrap Up
Table of Contents
13
13
13
17
19
22
23
26
29
30
32
37
37
39
40
43
45
50
56
60
Chapter 2: UITableView Changes &
Enhancements
Theoretical Overview
Pull-to-Refresh
Cell Reuse Improvements
Customized Headers & Footers
Index Customization
Tutorial Project
Step 1: Setting the Scene
Step 2: Configure the UITableViewController
Step 3: Adding the RefreshControl
62
62
62
64
66
67
67
68
70
70
4
Step 4: Fetching the Reddit Data
Step 5: Create the Table View Cell
Step 6: Cell Reuse Improvements
Step 7: Finishing Touches
Step 8: The Finished Product
Wrap Up
Table of Contents
71
74
76
77
78
79
Chapter 3: Data Isolation Controls
Theoretical Overview
Managing Purpose Strings
Checking Authorization Status
Accessing Contacts
Accessing Calendars
Accessing Reminders
Accessing the Assets Library
Accessing Location Services
A Note on UDID and UUID Numbers
Testing iOS Data Isolation
Tutorial Project
Step 1: Project Creation
Step 2: Set the Root View Controller
Step 3: Layout the Menu Table View Controller
Step 4: UUID Generation
Step 5: Accessing Location Services
Step 6: Accessing Contacts
Step 7: Accessing Calendars
Step 8: Accessing Reminders
Step 9: Accessing Photos
Step 10: Setting Purpose Strings
Wrap Up
81
81
83
84
85
86
87
88
89
89
91
92
93
94
96
100
105
110
118
124
129
133
134
Chapter 4: MapKit Enhancements
Theoretical Overview
Tutorial Project: Mapping Cycling Routes
Importing the Frameworks
Creating the Navigation Controller
136
136
138
139
139
5
Setting up the Button Methods
Configuring the Subviews
Implementing
UIActionSheetDelegate
Adding the Action Sheet Delegate Method
Implementing the Action Sheets
Adding Action Sheet Functionality
Getting into Map Kit
Setting Up a Location Manager
Distance Filter
Desired Accuracy
Pausing Location Updates
Activity Type
Reverse Geocoding
Mapping the Start Location
Mapping the End Location
Mapping Both Pins
Build and Run
Adding Turn-By-Turn Directions
Build and Run
Wrap Up
Table of Contents
140
141
143
144
144
145
146
147
148
148
148
148
149
151
152
152
153
153
154
154
Chapter 5: Reminders and Event Kit
Theoretical Overview
The
EKReminder
Class
The
EKStructuredLocation
Class
Changes to the
EKCalendar
Class
Practical Tutorial: Making Reservations
Setting up the Project
Subclassing
UITableViewController
Setting the Root View Controller
Subclassing
UIViewController
Adding Properties
Adding the Subviews
Updating the Date Label
Resigning the Keyboard
Setting up the Main Controller
Dismissing the Controller
156
156
157
159
159
160
160
162
162
162
163
164
166
167
167
170
Plik z chomika:
jonedave3
Inne pliki z tego folderu:
D&D 4th Edition - Player's Handbook 3.pdf
(54995 KB)
D'Amato_The.Savage.Garden.Revised.epub
(35045 KB)
D is for Derby - Helen L. Wilbur.pdf
(11267 KB)
D-Day_ Battle on the Beach.epub
(28924 KB)
D-Day - Lance Goddard.epub
(14284 KB)
Inne foldery tego chomika:
@other-lang
@packed
0
1
2-1
Zgłoś jeśli
naruszono regulamin