File tree
92 files changed
+109
-103
lines changed- chapter-addressBook/Retrieving a Person Entity with System UI/Retrieving a Person Entity with System UI
- chapter-basics
- Accepting User Text Input with UITextField/Accepting User Text Input with UITextField
- Adding Blur Effects to Your Views/Adding Blur Effects to Your Views
- Adding Buttons to the User Interface with UIButton/Adding Buttons to the User Interface with UIButton
- Creating Scrollable Content with UIScrollView/Creating Scrollable Content with UIScrollView
- Creating, Using and Customizing Switches with UISwitch/Creating, Using and Customizing Switches with UISwitch
- Displaying Alerts and Action Sheets/Displaying Alerts and Action Sheets
- Displaying Images with UIImageView/Displaying Images with UIImageView
- Displaying Long Lines of Text with UITextView/Displaying Long Lines of Text with UITextView
- Displaying Progress with UIProgressView/Displaying Progress with UIProgressView
- Displaying Static Text with UILabel/Displaying Static Text with UILabel
- Grouping Compact Options with UISegmentedControl/Grouping Compact Options with UISegmentedControl
- Implementing Range Pickers with UISlider/Implementing Range Pickers with UISlider
- Loading Web Pages with UIWebView/Loading Web Pages with UIWebView
- Loading Web Pages with WebKit/Loading Web Pages with WebKit
- Picking Values with the UIPickerView/Picking Values with the UIPickerView
- Picking the Date and Time with UIDatePicker/Picking the Date and Time with UIDatePicker
- 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
- chapter-concurrency
- Adding Background Fetch Capabilities to Your Apps/Adding Background Fetch Capabilities to Your Apps
- Completing a Long-Running Task in the Background/Completing a Long-Running Task in the Background
- Creating Dependency Between Operations/Creating Dependency Between Operations
- Creating Simple Concurrency with Operations/Creating Simple Concurrency with Operations
- Firing Periodic Tasks/Firing Periodic Tasks
- Grouping Tasks Together/Grouping Tasks Together
- Handling Location Changes in the Background/Handling Location Changes in the Background
- Handling Network Connections in the Background/Handling Network Connections in the Background
- Performing Non-UI Related Tasks/Performing Non-UI Related Tasks
- Performing Tasks After a Delay/Performing Tasks After a Delay
- Performing UI-Related Tasks/Performing UI-Related Tasks
- Performing a Task Only Once/Performing a Task Only Once
- Playing Audio in the Background/Playing Audio in the Background
- Scheduling a Background Activity/Scheduling a Background Activity
- 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
- Constructing Date Objects/Constructing Date Objects
- 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
- Adding Gravity to Your UI Components/Adding Gravity to Your UI Components
- Adding a Dynamic Snap Effect to Your UI Components/Adding a Dynamic Snap Effect to Your UI Components
- Animating Your UI Components With a Push/Animating Your UI Components With a Push
- Assigning Characteristics to Your Dynamic Effects/Assigning Characteristics to Your Dynamic Effects
- Attaching Multiple Dynamic Items to Each Other/Attaching Multiple Dynamic Items to Each Other
- Detecting and Reacting to Collisions Between UI Components/Detecting and Reacting to Collisions Between UI Components
- chapter-fileManagement
- Creating Folders on Disk/Creating Folders on Disk
- 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-graphics
- Adding Shadows to Shapes/Adding Shadows to Shapes
- Animating Views/Animating Views
- Constructing Paths/Constructing Paths
- Constructing Resizable Images/Constructing Resizable Images
- Drawing Gradients/Drawing Gradients
- Drawing Images/Drawing Images
- Drawing Lines/Drawing Lines
- Drawing Rectangles/Drawing Rectangles
- Drawing Text/Drawing Text
- Introduction to Graphics and Animations/Introduction to Graphics and Animations
- Transforming Views/Transforming Views
- chapter-maps
- Displaying Custom Pins on a Map View/Displaying Custom Pins on a Map View
- Displaying Pins on a Map View/Displaying Pins on a Map View
- Pinpointing the Location of a Device/Pinpointing the Location of a Device
- chapter-security
- Authenticating the User with Touch ID/Authenticating the User with Touch ID
- Deleting Exiting Values in the Keychain/Deleting Exiting Values in the Keychain
- Enabling Security and Protection for Your Apps/Enabling Security and Protection for Your Apps
- 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 Files Securely in the App Sandbox/Storing Files Securely in the App Sandbox
- 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
- xcdebugger
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
92 files changed
+109
-103
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
39 |
| - | |
| 39 | + | |
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
37 |
| - | |
| 37 | + | |
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
52 | 52 |
| |
53 | 53 |
| |
54 | 54 |
| |
55 |
| - | |
| 55 | + | |
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 |
| - | |
36 |
| - | |
37 |
| - | |
38 |
| - | |
39 |
| - | |
40 |
| - | |
41 |
| - | |
42 |
| - | |
43 |
| - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
44 | 44 |
| |
45 | 45 |
| |
46 |
| - | |
| 46 | + | |
| 47 | + | |
47 | 48 |
| |
48 | 49 |
| |
49 | 50 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 |
| - | |
| 33 | + | |
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
| |||
68 | 68 |
| |
69 | 69 |
| |
70 | 70 |
| |
71 |
| - | |
| 71 | + | |
72 | 72 |
| |
73 | 73 |
| |
74 | 74 |
| |
| |||
104 | 104 |
| |
105 | 105 |
| |
106 | 106 |
| |
107 |
| - | |
| 107 | + | |
108 | 108 |
| |
109 | 109 |
| |
110 | 110 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
34 |
| - | |
| 34 | + | |
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
151 | 151 |
| |
152 | 152 |
| |
153 | 153 |
| |
154 |
| - | |
| 154 | + | |
155 | 155 |
| |
156 | 156 |
| |
157 | 157 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
149 | 149 |
| |
150 | 150 |
| |
151 | 151 |
| |
152 |
| - | |
| 152 | + | |
153 | 153 |
| |
154 | 154 |
| |
155 | 155 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
181 | 181 |
| |
182 | 182 |
| |
183 | 183 |
| |
184 |
| - | |
| 184 | + | |
185 | 185 |
| |
186 | 186 |
| |
187 | 187 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
275 | 275 |
| |
276 | 276 |
| |
277 | 277 |
| |
278 |
| - | |
| 278 | + | |
279 | 279 |
| |
280 | 280 |
| |
281 | 281 |
| |
|
0 commit comments