File tree
100 files changed
+612
-608
lines changed- chapter-addressBook
- Requesting Access to the Address Book/Requesting Access to the Address Book
- Retrieving a Property of a Person Entity with System UI/Retrieving a Property of a Person Entity with System UI
- chapter-basics
- Grouping Compact Options with UISegmentedControl/Grouping Compact Options with UISegmentedControl
- Introduction to Chapter (Basics)/Introduction to Chapter (Basics)
- Jumping Right Into Swift/Jumping Right Into Swift
- Loading Web Pages with UIWebView/Loading Web Pages with UIWebView
- Loading Web Pages with WebKit/Loading Web Pages with WebKit
- Presenting Custom Sharing Options with UIActivityViewController/Presenting Custom Sharing Options with UIActivityViewController
- Presenting Temporary Information on the Screen with Popovers/Presenting Temporary Information on the Screen with Popovers
- chapter-camera/Taking Videos with the Camera/Taking Videos with the Camera
- chapter-cloud
- Creating and Managing Folders for Apps in iCloud/Creating and Managing Folders for Apps in iCloud
- Observing Changes to Records in CloudKit/Observing Changes to Records in CloudKit
- Querying the Cloud with CloudKit/Querying the Cloud with CloudKit
- Retrieving Data with CloudKit/Retrieving Data with CloudKit
- Retrieving User Information from CloudKit/Retrieving User Information from CloudKit
- Searching for Files and Folders in iCloud/Searching for Files and Folders in iCloud
- Storing Data with CloudKit/Storing Data with CloudKit
- chapter-concurrency
- Adding Background Fetch Capabilities to Your Apps/Adding Background Fetch Capabilities to Your Apps
- Creating Dependency Between Operations/Creating Dependency Between Operations
- Creating Simple Concurrency with Operations/Creating Simple Concurrency with Operations
- Handling Network Connections in the Background/Handling Network Connections in the Background
- Performing Non-UI Related Tasks/Performing Non-UI Related Tasks
- Playing Audio in the Background/Playing Audio in the Background
- chapter-data
- Boosting Data Access in Table Views/Boosting Data Access in Table Views
- Deleting Data from Core Data/Deleting Data from Core Data
- Fetching Data in the Background/Fetching Data in the Background
- Implementing Relationships in Core Data/Implementing Relationships in Core Data
- Introduction to Core Data/Introduction to Core Data
- Performing Batch Updates on Core Data/Performing Batch Updates on Core Data
- Reading Data from Core Data/Reading Data from Core Data
- Sorting Data in Core Data/Sorting Data in Core Data
- Using Custom Data Types in Your Core Data Model/Using Custom Data Types in Your Core Data Model
- Writing to Core Data/Writing to Core Data
- chapter-datesCaneldarsEvents/Constructing Date Objects/Constructing Date Objects
- chapter-extensions
- Adding New Photo Editing Capabilities to the Photos App/PosterizeExtension
- Adding Widgets to the Notification Center
- Adding Widgets to the Notification Center
- Widget
- Building Custom Keyboards
- Building Custom Keyboards.xcodeproj
- project.xcworkspace
- xcuserdata/vandadnp.xcuserdatad
- xcuserdata/vandadnp.xcuserdatad/xcdebugger
- chapter-fileManagement/Writing to and Reading from Files/Writing to and Reading from Files
- chapter-graphics
- Animating Views/Animating Views
- Constructing Resizable Images/Constructing Resizable Images
- Drawing Images/Drawing Images
- Drawing Text/Drawing Text
- chapter-health
- Accessing and Modifying User’s Height Information/Accessing and Modifying User’s Height Information
- Reading and Modifying the User’s Total Calories Burned/Reading and Modifying the User’s Total Calories Burned
- chapter-homekit
- Adding Rooms to the User’s Home/Adding Rooms to the User’s Home
- Managing the User’s Home in HomeKit/Managing the User’s Home in HomeKit
- chapter-maps
- Defining and Processing iBeacons - Source/Defining and Processing iBeacons - Source
- Displaying Custom Pins on a Map View/Displaying Custom Pins on a Map View
- Displaying Directions on The Map
- Displaying Directions on The Map
- Displaying Directions on The Map.xcodeproj/project.xcworkspace/xcuserdata/vandadnp.xcuserdatad
- chapter-motion
- Detecting the Availability of a Gyroscope/Detecting the Availability of a Gyroscope
- Detecting the Availability of an Accelerometer/Detecting the Availability of an Accelerometer
- Retrieving Altitude Data/Retrieving Altitude Data
- Retrieving Gyroscope Data/Retrieving Gyroscope Data
- Retrieving Pedometer Data/Retrieving Pedometer Data
- chapter-multimedia
- Accessing the Music Library/Accessing the Music Library
- Capturing Thumbnails from Video Files/Capturing Thumbnails from Video Files
- Playing Video Files/Playing Video Files
- Recording Audio/Recording Audio
- chapter-networking
- Downloading Asynchronously with NSURLConnection/Downloading Asynchronously with NSURLConnection
- Downloading Data Using NSURLSession/Downloading Data Using NSURLSession
- Downloading Data in the Background Using NSURLSession/Downloading Data in the Background Using NSURLSession
- Downloading Synchronously with NSURLConnection/Downloading Synchronously with NSURLConnection
- Handling Timeouts in Asynchronous Connections/Handling Timeouts in Asynchronous Connections
- Sending HTTP Requests with NSURLConnection/Sending HTTP Requests with NSURLConnection
- Uploading Data Using NSURLSession/Uploading Data Using NSURLSession
- chapter-notification
- Delivering Push Notifications to Your App/Delivering Push Notifications to Your App
- Handling Local System Notifications/Handling Local System Notifications
- Listening for and Reacting to Local Notifications/Listening for and Reacting to Local Notifications
- Listening for and Reacting to Notifications/Listening for and Reacting to Notifications
- Reacting to Push Notifications/Reacting to Push Notifications
- Setting Up Your App for Push Notifications/Setting Up Your App for Push Notifications
- chapter-security
- Deleting Exiting Values in the Keychain/Deleting Exiting Values in the Keychain
- Finding Values in the Keychain/Finding Values in the Keychain
- Sharing Keychain Data Between Multiple Apps - Reading/Sharing Keychain Data Between Multiple Apps - Reading
- Sharing Keychain Data Between Multiple Apps - Writing/Sharing Keychain Data Between Multiple Apps - Writing
- Storing Values in the Keychain/Storing Values in the Keychain
- Updating Existing Values in the Keychain/Updating Existing Values in the Keychain
- Writing to and Reading Keychain Data from iCloud/Writing to and Reading Keychain Data from iCloud
- chapter-tables
- Adding Custom Interactions to Collection Views/Adding Custom Interactions to Collection Views
- Displaying a Refresh Control for Table Views/Displaying a Refresh Control for Table Views
- Enabling Swipe Deletion of Table View Cells/Enabling Swipe Deletion of Table View Cells
- Feeding Custom Cells to Collection Views Using .xib Files/Feeding Custom Cells to Collection Views Using .xib Files
- Handling Events in Collection Views/Handling Events in Collection Views
- Populating a Table View with Data/Populating a Table View with Data
- Providing Basic Content to a Collection View/Providing Basic Content to a Collection View
- ios8swiftprogrammingcookbook.xcworkspace/xcuserdata/vandadnp.xcuserdatad
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
100 files changed
+612
-608
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
44 |
| - | |
| 44 | + | |
| 45 | + | |
45 | 46 |
| |
46 | 47 |
| |
47 | 48 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
61 | 61 |
| |
62 | 62 |
| |
63 | 63 |
| |
64 |
| - | |
65 |
| - | |
66 |
| - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
67 | 71 |
| |
68 | 72 |
| |
69 | 73 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
134 | 134 |
| |
135 | 135 |
| |
136 | 136 |
| |
137 |
| - | |
| 137 | + | |
138 | 138 |
| |
139 |
| - | |
| 139 | + | |
140 | 140 |
| |
141 |
| - | |
| 141 | + | |
142 | 142 |
| |
143 | 143 |
| |
144 | 144 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 |
| - | |
| 35 | + | |
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
70 | 70 |
| |
71 | 71 |
| |
72 | 72 |
| |
73 |
| - | |
74 |
| - | |
75 |
| - | |
76 |
| - | |
77 |
| - | |
78 |
| - | |
79 |
| - | |
80 |
| - | |
81 |
| - | |
82 |
| - | |
83 |
| - | |
84 |
| - | |
85 |
| - | |
86 |
| - | |
87 |
| - | |
88 |
| - | |
89 |
| - | |
90 |
| - | |
91 |
| - | |
92 |
| - | |
93 |
| - | |
94 |
| - | |
95 |
| - | |
96 |
| - | |
97 |
| - | |
98 |
| - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
99 | 99 |
| |
100 | 100 |
| |
101 | 101 |
| |
| |||
253 | 253 |
| |
254 | 254 |
| |
255 | 255 |
| |
256 |
| - | |
| 256 | + | |
257 | 257 |
| |
258 | 258 |
| |
259 | 259 |
| |
| |||
276 | 276 |
| |
277 | 277 |
| |
278 | 278 |
| |
279 |
| - | |
280 |
| - | |
281 |
| - | |
282 |
| - | |
283 |
| - | |
284 |
| - | |
285 |
| - | |
286 |
| - | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
287 | 287 |
| |
288 | 288 |
| |
289 | 289 |
| |
290 |
| - | |
291 |
| - | |
292 |
| - | |
293 |
| - | |
294 |
| - | |
295 |
| - | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
296 | 296 |
| |
297 | 297 |
| |
298 |
| - | |
299 |
| - | |
| 298 | + | |
| 299 | + | |
300 | 300 |
| |
301 |
| - | |
| 301 | + | |
302 | 302 |
| |
303 | 303 |
| |
304 | 304 |
| |
305 | 305 |
| |
306 |
| - | |
307 |
| - | |
| 306 | + | |
| 307 | + | |
308 | 308 |
| |
309 | 309 |
| |
310 | 310 |
| |
| |||
314 | 314 |
| |
315 | 315 |
| |
316 | 316 |
| |
317 |
| - | |
| 317 | + | |
318 | 318 |
| |
319 | 319 |
| |
320 | 320 |
| |
321 | 321 |
| |
322 | 322 |
| |
323 | 323 |
| |
324 | 324 |
| |
325 |
| - | |
326 |
| - | |
| 325 | + | |
| 326 | + | |
327 | 327 |
| |
328 | 328 |
| |
329 | 329 |
| |
330 | 330 |
| |
331 | 331 |
| |
332 | 332 |
| |
333 | 333 |
| |
334 |
| - | |
| 334 | + | |
335 | 335 |
| |
336 | 336 |
| |
337 | 337 |
| |
338 | 338 |
| |
339 | 339 |
| |
340 | 340 |
| |
341 |
| - | |
342 |
| - | |
343 |
| - | |
344 |
| - | |
345 |
| - | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
346 | 346 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
59 |
| - | |
| 59 | + | |
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
| |||
97 | 97 |
| |
98 | 98 |
| |
99 | 99 |
| |
100 |
| - | |
| 100 | + | |
101 | 101 |
| |
102 | 102 |
| |
103 | 103 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
86 | 86 |
| |
87 | 87 |
| |
88 | 88 |
| |
89 |
| - | |
| 89 | + | |
90 | 90 |
| |
91 | 91 |
| |
92 | 92 |
| |
| |||
143 | 143 |
| |
144 | 144 |
| |
145 | 145 |
| |
146 |
| - | |
| 146 | + | |
147 | 147 |
| |
148 | 148 |
| |
149 | 149 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
72 | 72 |
| |
73 | 73 |
| |
74 | 74 |
| |
75 |
| - | |
| 75 | + | |
76 | 76 |
| |
77 | 77 |
| |
78 | 78 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
105 | 105 |
| |
106 | 106 |
| |
107 | 107 |
| |
108 |
| - | |
| 108 | + | |
109 | 109 |
| |
110 | 110 |
| |
111 | 111 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
59 |
| - | |
| 59 | + | |
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
58 |
| - | |
| 58 | + | |
| 59 | + | |
59 | 60 |
| |
60 | 61 |
| |
61 | 62 |
| |
| |||
152 | 153 |
| |
153 | 154 |
| |
154 | 155 |
| |
155 |
| - | |
| 156 | + | |
| 157 | + | |
156 | 158 |
| |
157 | 159 |
| |
158 | 160 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
116 | 116 |
| |
117 | 117 |
| |
118 | 118 |
| |
119 |
| - | |
| 119 | + | |
120 | 120 |
| |
121 | 121 |
| |
122 | 122 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
67 | 67 |
| |
68 | 68 |
| |
69 | 69 |
| |
70 |
| - | |
| 70 | + | |
71 | 71 |
| |
72 | 72 |
| |
73 | 73 |
| |
| |||
147 | 147 |
| |
148 | 148 |
| |
149 | 149 |
| |
150 |
| - | |
| 150 | + | |
151 | 151 |
| |
152 | 152 |
| |
153 | 153 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
| 21 | + | |
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
| |||
104 | 104 |
| |
105 | 105 |
| |
106 | 106 |
| |
107 |
| - | |
| 107 | + | |
108 | 108 |
| |
109 | 109 |
| |
110 | 110 |
| |
| |||
169 | 169 |
| |
170 | 170 |
| |
171 | 171 |
| |
172 |
| - | |
| 172 | + | |
173 | 173 |
| |
174 | 174 |
| |
175 | 175 |
| |
| |||
194 | 194 |
| |
195 | 195 |
| |
196 | 196 |
| |
197 |
| - | |
| 197 | + | |
198 | 198 |
| |
199 | 199 |
| |
200 | 200 |
| |
|
0 commit comments