File tree
93 files changed
+398
-414
lines changed- chapter-addressBook
- Retrieving Properties of Address Book Entries/Retrieving Properties of Address Book Entries
- Retrieving a Person Entity with System UI/Retrieving a Person Entity with System UI
- Retrieving a Property of a Person Entity with System UI/Retrieving a Property of a Person Entity with System UI
- Retrieving and Setting a Person's Address Book Image/Retrieving and Setting a Person's Address Book Image
- Searching the Address Book/Searching the Address Book
- chapter-basics
- Accepting User Text Input with UITextField/Accepting User Text Input with UITextField
- Creating Scrollable Content with UIScrollView/Creating Scrollable Content with UIScrollView
- Displaying Alerts and Action Sheets/Displaying Alerts and Action Sheets
- Displaying Long Lines of Text with UITextView/Displaying Long Lines of Text with UITextView
- Displaying Static Text with UILabel/Displaying Static Text with UILabel
- Grouping Compact Options with UISegmentedControl/Grouping Compact Options with UISegmentedControl
- 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 Sharing Options with UIActivityViewController/Presenting Sharing Options with UIActivityViewController
- Presenting Temporary Information on the Screen with Popovers
- Presenting Temporary Information on the Screen with Popovers
- Presenting Temporary Information on the Screen with Popovers.xcodeproj
- chapter-camera
- Detecting and Probing the Camera/Detecting and Probing the Camera
- Reacting to Changes in Images and Videos/Reacting to Changes in Images and Videos
- Searching for and Retrieving Images and Videos/Searching for and Retrieving Images and Videos
- Storing Photos in the Photo Library/Storing Photos in the Photo Library
- Taking Photos with the Camera/Taking Photos with the Camera
- Taking Videos with the Camera/Taking Videos with the Camera
- chapter-cloud/Observing Changes to Records in CloudKit/Observing Changes to Records in CloudKit
- chapter-concurrency
- Adding Background Fetch Capabilities to Your Apps/Adding Background Fetch Capabilities to Your Apps
- Performing Non-UI Related Tasks/Performing Non-UI Related Tasks
- Playing Audio in the Background/Playing Audio in the Background
- chapter-datesCaneldarsEvents
- Accessing the Contents of Calendars/Accessing the Contents of Calendars
- Adding Alarms to Calendars/Adding Alarms to Calendars
- Adding Events to Calendars/Adding Events to Calendars
- Adding Recurring Events to Calendars/Adding Recurring Events to Calendars
- Removing Events From Calendars/Removing Events From Calendars
- Requesting Permission to Access Calendars/Requesting Permission to Access Calendars
- Retrieving Calendar Groups/Retrieving Calendar Groups
- Retrieving the Attendees of an Event/Retrieving the Attendees of an Event
- chapter-dynamics/Detecting and Reacting to Collisions Between UI Components/Detecting and Reacting to Collisions Between UI Components
- chapter-fileManagement
- Deleting Files and Folders/Deleting Files and Folders
- Enumerating Files and Folders/Enumerating Files and Folders
- Finding the Path of the Most Useful Folders on Disk/Finding the Path of the Most Useful Folders on Disk
- Saving Objects to Files/Saving Objects to Files
- Writing to and Reading from Files/Writing to and Reading from Files
- chapter-gestures/Detecting Long Press Gestures/Detecting Long Press Gestures
- chapter-graphics/Constructing Resizable Images/Constructing Resizable Images
- chapter-health
- Accessing and Modifying User’s Height Information/Accessing and Modifying User’s Height Information
- Retrieving User’s Date of Birth/Retrieving User’s Date of Birth
- Retrieving and Modifying User’s Weight Information/Retrieving and Modifying User’s Weight Information
- Setting up Your App for HealthKit/Setting up Your App for HealthKit
- chapter-homekit
- Adding Rooms to the User’s Home/Adding Rooms to the User’s Home
- Discovering and Managing HomeKit Enabled Accessories/Discovering and Managing HomeKit Enabled Accessories
- Grouping Services of HomeKit Accessories/Grouping Services of HomeKit Accessories
- Interacting with HomeKit Accessories/Interacting with HomeKit Accessories
- Managing the User’s Home in HomeKit/Managing the User’s Home in HomeKit
- Specifying Zones in the User’s Home/Specifying Zones in the User’s Home
- chapter-maps
- Defining and Processing iBeacons - Destination/Defining and Processing iBeacons - Destination
- Detecting Which Floor the User is on in a Building/Detecting Which Floor the User is on in a Building
- 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 Pins on a Map View/Displaying Pins on a Map View
- Searching on a Map View/Searching on a Map View
- chapter-multimedia
- Capturing Thumbnails from Video Files/Capturing Thumbnails from Video Files
- Playing Video Files/Playing Video Files
- Recording Audio/Recording Audio
- chapter-networking
- Downloading Data Using NSURLSession/Downloading Data Using NSURLSession
- Downloading Data in the Background Using NSURLSession/Downloading Data in the Background Using NSURLSession
- Serializing and Deserializing JSON Objects/Serializing and Deserializing JSON Objects
- Uploading Data Using NSURLSession/Uploading Data Using NSURLSession
- chapter-notification
- Listening and Reacting to Keyboard Notifications/Listening and Reacting to Keyboard 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
- Scheduling Local Notifications/Scheduling Local 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
- Writing to and Reading Keychain Data from iCloud.xcodeproj
- chapter-tables
- Adding Custom Interactions to Collection Views/Adding Custom Interactions to Collection Views
- 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
- 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.
93 files changed
+398
-414
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
77 | 77 |
| |
78 | 78 |
| |
79 | 79 |
| |
80 |
| - | |
| 80 | + | |
81 | 81 |
| |
82 | 82 |
| |
83 |
| - | |
| 83 | + | |
84 | 84 |
| |
85 | 85 |
| |
86 | 86 |
| |
| |||
151 | 151 |
| |
152 | 152 |
| |
153 | 153 |
| |
154 |
| - | |
| 154 | + | |
155 | 155 |
| |
156 | 156 |
| |
157 | 157 |
| |
| |||
168 | 168 |
| |
169 | 169 |
| |
170 | 170 |
| |
171 |
| - | |
| 171 | + | |
172 | 172 |
| |
173 |
| - | |
| 173 | + | |
174 | 174 |
| |
175 | 175 |
| |
176 | 176 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
66 |
| - | |
| 66 | + | |
67 | 67 |
| |
68 | 68 |
| |
69 | 69 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
59 | 59 |
| |
60 | 60 |
| |
61 | 61 |
| |
62 |
| - | |
| 62 | + | |
63 | 63 |
| |
64 |
| - | |
65 |
| - | |
66 |
| - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
67 | 67 |
| |
68 | 68 |
| |
69 | 69 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
40 |
| - | |
| 40 | + | |
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
49 |
| - | |
| 49 | + | |
50 | 50 |
| |
51 | 51 |
| |
52 |
| - | |
| 52 | + | |
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
| |||
69 | 69 |
| |
70 | 70 |
| |
71 | 71 |
| |
72 |
| - | |
| 72 | + | |
73 | 73 |
| |
74 | 74 |
| |
75 | 75 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
86 | 86 |
| |
87 | 87 |
| |
88 | 88 |
| |
89 |
| - | |
| 89 | + | |
90 | 90 |
| |
91 | 91 |
| |
92 | 92 |
| |
93 |
| - | |
| 93 | + | |
94 | 94 |
| |
95 | 95 |
| |
96 | 96 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
70 | 70 |
| |
71 | 71 |
| |
72 | 72 |
| |
73 |
| - | |
| 73 | + | |
74 | 74 |
| |
75 | 75 |
| |
76 | 76 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
80 | 80 |
| |
81 | 81 |
| |
82 | 82 |
| |
83 |
| - | |
| 83 | + | |
84 | 84 |
| |
85 | 85 |
| |
86 | 86 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
69 | 69 |
| |
70 | 70 |
| |
71 | 71 |
| |
72 |
| - | |
| 72 | + | |
73 | 73 |
| |
74 | 74 |
| |
75 | 75 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
113 | 113 |
| |
114 | 114 |
| |
115 | 115 |
| |
116 |
| - | |
| 116 | + | |
117 | 117 |
| |
118 | 118 |
| |
119 | 119 |
| |
|
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 | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| |||
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
28 |
| - | |
| 28 | + | |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
36 |
| - | |
| 36 | + | |
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
| |||
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
45 |
| - | |
| 45 | + | |
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
49 | 49 |
| |
50 |
| - | |
| 50 | + | |
51 | 51 |
| |
52 | 52 |
| |
53 |
| - | |
| 53 | + | |
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
57 |
| - | |
| 57 | + | |
58 | 58 |
| |
59 | 59 |
| |
60 |
| - | |
| 60 | + | |
61 | 61 |
| |
62 |
| - | |
| 62 | + | |
63 | 63 |
| |
64 |
| - | |
| 64 | + | |
65 | 65 |
| |
66 |
| - | |
| 66 | + | |
67 | 67 |
| |
68 | 68 |
| |
69 | 69 |
| |
70 | 70 |
| |
71 | 71 |
| |
72 | 72 |
| |
73 | 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 |
| - | |
100 |
| - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
101 | 77 |
| |
102 |
| - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
103 | 81 |
| |
104 |
| - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
105 | 85 |
| |
106 |
| - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
107 | 107 |
| |
108 | 108 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
32 |
| - | |
| 32 | + | |
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
38 |
| - | |
| 38 | + | |
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
44 |
| - | |
| 44 | + | |
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
| |||
105 | 105 |
| |
106 | 106 |
| |
107 | 107 |
| |
108 |
| - | |
109 |
| - | |
| 108 | + | |
| 109 | + | |
110 | 110 |
| |
111 | 111 |
| |
112 | 112 |
| |
113 | 113 |
| |
114 |
| - | |
115 |
| - | |
| 114 | + | |
| 115 | + | |
116 | 116 |
| |
117 | 117 |
| |
118 | 118 |
| |
119 |
| - | |
120 |
| - | |
121 |
| - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
122 | 122 |
| |
123 | 123 |
| |
124 | 124 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 |
| - | |
| 35 | + | |
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
40 |
| - | |
| 40 | + | |
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
| |||
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
57 |
| - | |
| 57 | + | |
58 | 58 |
| |
59 | 59 |
| |
60 | 60 |
| |
| |||
91 | 91 |
| |
92 | 92 |
| |
93 | 93 |
| |
94 |
| - | |
95 |
| - | |
| 94 | + | |
| 95 | + | |
96 | 96 |
| |
97 | 97 |
| |
98 | 98 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
96 | 96 |
| |
97 | 97 |
| |
98 | 98 |
| |
99 |
| - | |
| 99 | + | |
100 | 100 |
| |
101 | 101 |
| |
102 | 102 |
| |
|
0 commit comments