iOS 12 App Development Essentials
eBook - ePub

iOS 12 App Development Essentials

Learn to Develop IOS 12 Apps with Xcode 10 and Swift 4

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

iOS 12 App Development Essentials

Learn to Develop IOS 12 Apps with Xcode 10 and Swift 4

Book details
Book preview
Table of contents
Citations

About This Book

iOS 12 App Development Essentials, the latest edition of this popular book series, has now been fully updated for the iOS 12 SDK, Xcode 10 and the Swift 4.2 programming language.

Beginning with the basics, this book provides an outline of the steps necessary to set up an iOS development environment. An introduction to the architecture of iOS 12 and programming in Swift 4 is provided, followed by an in-depth look at the design of iOS applications and user interfaces. More advanced topics such as file handling, database management, graphics drawing and animation are also covered, as are touch screen handling, gesture recognition, multitasking, location management, local notifications, camera access and video playback support. Other features are also covered including Auto Layout, local map search, user interface animation using UIKit dynamics, Siri integration, iMessage app development, CloudKit sharing and biometric authentication.

Additional features of iOS development using Xcode are also covered, including Swift playgrounds, universal user interface design using size classes, app extensions, Interface Builder Live Views, embedded frameworks, collection and stack layouts and CloudKit data storage in addition to drag and drop integration and the document browser.

The key new features of iOS 12 and Xcode 10 are also covered in detail, including Siri shortcuts and the new iOS machine learning features.

The aim of this book, therefore, is to teach you the skills necessary to build your own apps for iOS 12. Assuming you are ready to download the iOS 12 SDK and Xcode 10, have an Intel-based Mac and ideas for some apps to develop, you are ready to get started.

Frequently asked questions

Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes, you can access iOS 12 App Development Essentials by Neil Smyth in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming. We have over one million books available in our catalogue for you to explore.

Information

ISBN
9780960010905

1. Start Here

The goal of this book is to teach the skills necessary to create iOS applications using the iOS 12 SDK, Xcode 10 and the Swift 4 programming language.
How you make use of this book will depend to a large extent on whether you are new to iOS development, or have worked with iOS 11 and need to get up to speed on the features of iOS 12 and the latest version of the Swift programming language. Rest assured, however, that the book is intended to address both category of reader.

1.1 For New iOS Developers

If you are entirely new to iOS development then the entire contents of the book will be relevant to you.
Beginning with the basics, this book provides an outline of the steps necessary to set up an iOS development environment. An introduction to the architecture of iOS 12 and programming in Swift 4 is provided, followed by an in-depth look at the design of iOS applications and user interfaces. More advanced topics such as file handling, database management, graphics drawing and animation are also covered, as are touch screen handling, gesture recognition, multitasking, location management, local notifications, camera access and video playback support. Other features are also covered including Auto Layout, local map search, user interface animation using UIKit dynamics, Siri integration, iMessage app development, CloudKit sharing and biometric authentication.
Additional features of iOS development using Xcode are also covered, including Swift playgrounds, universal user interface design using size classes, app extensions, Interface Builder Live Views, embedded frameworks, collection and stack layouts and CloudKit data storage in addition to drag and drop integration and the document browser.
The key new features of iOS 12 and Xcode 10 are also covered in detail, including Siri shortcuts and the new iOS machine learning features.
The aim of this book, therefore, is to teach you the skills necessary to build your own apps for iOS 12. Assuming you are ready to download the iOS 12 SDK and Xcode 10, have an Intel-based Mac and ideas for some apps to develop, you are ready to get started.

1.2 For iOS 11 Developers

If you have already read the iOS 11 edition of this book, or have experience with the iOS 11 SDK then you might prefer to go directly to the new chapters in this iOS 12 edition of...

Table of contents

  1. 1. Start Here
  2. 2. Joining the Apple Developer Program
  3. 3. Installing Xcode 10 and the iOS 12 SDK
  4. 4. A Guided Tour of Xcode 10
  5. 5. An Introduction to Xcode 10 Playgrounds
  6. 6. Swift Data Types, Constants and Variables
  7. 7. Swift Operators and Expressions
  8. 8. Swift Flow Control
  9. 9. The Swift Switch Statement
  10. 10. An Overview of Swift 4 Functions, Methods and Closures
  11. 11. The Basics of Object-Oriented Programming in Swift
  12. 12. An Introduction to Swift Subclassing and Extensions
  13. 13. Working with Array and Dictionary Collections in Swift
  14. 14. Understanding Error Handling in Swift 4
  15. 15. The iOS 12 Application and Development Architecture
  16. 16. Creating an Interactive iOS 12 App
  17. 17. Understanding iOS 12 Views, Windows and the View Hierarchy
  18. 18. An Introduction to Auto Layout in iOS 12
  19. 19. Working with iOS 12 Auto Layout Constraints in Interface Builder
  20. 20. An iOS 12 Auto Layout Example
  21. 21. Implementing iOS 12 Auto Layout Constraints in Code
  22. 22. Implementing Cross-Hierarchy Auto Layout Constraints in iOS 12
  23. 23. Understanding the iOS 12 Auto Layout Visual Format Language
  24. 24. Using Trait Variations to Design Adaptive iOS 12 User Interfaces
  25. 25. Using Storyboards in Xcode 10
  26. 26. Organizing Scenes over Multiple Storyboard Files
  27. 27. Using Xcode 10 Storyboards to Create an iOS 12 Tab Bar Application
  28. 28. An Overview of iOS 12 Table Views and Xcode 10 Storyboards
  29. 29. Using Xcode 10 Storyboards to Build Dynamic TableViews
  30. 30. Implementing iOS 12 TableView Navigation using Storyboards
  31. 31. Integrating Search using the iOS UISearchController
  32. 32. Working with the iOS 12 Stack View Class
  33. 33. An iOS 12 Stack View Tutorial
  34. 34. An iOS 12 Split View Master-Detail Example
  35. 35. A Guide to Multitasking in iOS 12
  36. 36. An iOS 12 Multitasking Example
  37. 37. Working with Directories in Swift on iOS 12
  38. 38. Working with Files in Swift on iOS 12
  39. 39. iOS 12 Directory Handling and File I/O in Swift – A Worked Example
  40. 40. Preparing an iOS 12 App to use iCloud Storage
  41. 41. Managing Files using the iOS 12 UIDocument Class
  42. 42. Using iCloud Storage in an iOS 12 Application
  43. 43. Using iCloud Drive Storage in an iOS 12 App
  44. 44. An Overview of the iOS 12 Document Browser View Controller
  45. 45. An iOS 12 Document Browser Tutorial
  46. 46. Synchronizing iOS 12 Key-Value Data using iCloud
  47. 47. iOS 12 Database Implementation using SQLite
  48. 48. An Example SQLite based iOS 12 Application using Swift and FMDB
  49. 49. Working with iOS 12 Databases using Core Data
  50. 50. An iOS 12 Core Data Tutorial
  51. 51. An Introduction to CloudKit Data Storage on iOS 12
  52. 52. An Introduction to CloudKit Sharing
  53. 53. An iOS 12 CloudKit Example
  54. 54. An iOS 12 CloudKit Subscription Example
  55. 55. An iOS 12 CloudKit Sharing Example
  56. 56. An Overview of iOS 12 Multitouch, Taps and Gestures
  57. 57. An Example iOS 12 Touch, Multitouch and Tap Application
  58. 58. Detecting iOS 12 Touch Screen Gesture Motions
  59. 59. Identifying Gestures using iOS 12 Gesture Recognizers
  60. 60. An iOS 12 Gesture Recognition Tutorial
  61. 61. Implementing Touch ID and Face ID Authentication in iOS 12 Apps
  62. 62. Drawing iOS 12 2D Graphics with Core Graphics
  63. 63. Interface Builder Live Views and iOS 12 Embedded Frameworks
  64. 64. An iOS 12 Graphics Tutorial using Core Graphics and Core Image
  65. 65. iOS 12 Animation using UIViewPropertyAnimator
  66. 66. iOS 12 UIKit Dynamics – An Overview
  67. 67. An iOS 12 UIKit Dynamics Tutorial
  68. 68. An Overview of iOS Collection View and Flow Layout
  69. 69. An iOS 12 Storyboard-based Collection View Tutorial
  70. 70. Subclassing and Extending the Collection View Flow Layout
  71. 71. An Introduction to Drag and Drop in iOS 12
  72. 72. An iOS 12 Drag and Drop Tutorial
  73. 73. An iOS 12 Collection View Drag and Drop Tutorial
  74. 74. Integrating Maps into iOS 12 Applications using MKMapItem
  75. 75. An Example iOS 12 MKMapItem Application
  76. 76. Getting Location Information using the iOS 12 Core Location Framework
  77. 77. An Example iOS 12 Location Application
  78. 78. Working with Maps on iOS 12 with MapKit and the MKMapView Class
  79. 79. Working with MapKit Local Search in iOS 12
  80. 80. Using MKDirections to get iOS 12 Map Directions and Routes
  81. 81. An iOS 12 MapKit Flyover Tutorial
  82. 82. Accessing the iOS 12 Camera and Photo Library
  83. 83. An Example iOS 12 Camera Application
  84. 84. iOS 12 Video Playback using AVPlayer and AVPlayerViewController
  85. 85. An iOS 12 Multitasking Picture in Picture Tutorial
  86. 86. An Introduction to Extensions in iOS 12
  87. 87. An iOS 12 Today Extension Widget Tutorial
  88. 88. Creating an iOS 12 Photo Editing Extension
  89. 89. Creating an iOS 12 Action Extension
  90. 90. Receiving Data from an iOS 12 Action Extension
  91. 91. An Introduction to Building iOS 12 Message Apps
  92. 92. An iOS 12 Interactive Message App Tutorial
  93. 93. An Introduction to SiriKit
  94. 94. An iOS 12 Example SiriKit Messaging Extension
  95. 95. Customizing the SiriKit Intent User Interface
  96. 96. An iOS 12 SiriKit Photo Search Tutorial
  97. 97. An Overview of Siri Shortcut App Integration
  98. 98. Building Siri Shortcut Support into an iOS App
  99. 99. An Introduction to Machine Learning on iOS
  100. 100. Using Create ML to Build an Image Classification Model
  101. 101. An iOS Vision and Core ML Image Classification Tutorial
  102. 102. A 3D Touch Force Handling Tutorial
  103. 103. An iOS 12 3D Touch Quick Actions Tutorial
  104. 104. An iOS 12 3D Touch Peek and Pop Tutorial
  105. 105. An iOS 12 Local Notification Tutorial
  106. 106. Playing Audio on iOS 12 using AVAudioPlayer
  107. 107. Recording Audio on iOS 12 with AVAudioRecorder
  108. 108. An iOS 12 Speech Recognition Tutorial
  109. 109. An iOS 12 Real-Time Speech Recognition Tutorial
  110. 110. iOS 12 Multitasking, Background Transfer Service and Fetching
  111. 111. An Overview of iOS 12 Application State Preservation and Restoration
  112. 112. An iOS 12 State Preservation and Restoration Tutorial
  113. 113. An Introduction to iOS 12 Sprite Kit Programming
  114. 114. An iOS 12 Sprite Kit Level Editor Game Tutorial
  115. 115. An iOS 12 Sprite Kit Collision Handling Tutorial
  116. 116. An iOS 12 Sprite Kit Particle Emitter Tutorial
  117. 117. Making Store Purchases with the SKStoreProductViewController Class
  118. 118. Building In-App Purchasing into iOS 12 Applications
  119. 119. Preparing an iOS 12 Application for In-App Purchases
  120. 120. An iOS 12 In-App Purchase Tutorial
  121. 121. Configuring and Creating App Store Hosted Content for iOS 12 In-App Purchases
  122. 122. Preparing and Submitting an iOS 12 Application to the App Store
  123. Using iCloud Drive Storage in an iOS 12 App
  124. An Overview of Siri Shortcut App Integration
  125. Building Siri Shortcut Support into an iOS App
  126. An Introduction to Machine Learning on iOS
  127. Using Create ML to Build an Image Classification Model
  128. An iOS Vision and CoreML Image Classification Tutorial
  129. Installing Xcode 10 and the iOS 12 SDK
  130. An Introduction to Swift Playgrounds
  131. Working with Array and Dictionary Collections in Swift
  132. The Swift Switch Statement
  133. Swift Flow Control
  134. The Basics of Object-oriented Programming in Swift
  135. Creating an Interactive iOS 12 App
  136. The iOS 12 Application and Development Architecture
  137. A Guide to Multitasking in iOS 12
  138. Working with iOS 12 Auto Layout Constraints in Interface Builder
  139. An iOS 12 Auto Layout Example
  140. Understanding the iOS 12 Auto Layout Visual Format Language
  141. Implementing iOS 12 Auto Layout Constraints in Code
  142. An Introduction to Auto Layout in iOS 12
  143. Implementing Cross-Hierarchy Auto Layout Constraints in iOS 12
  144. Using Xcode 10 Storyboards to Build Dynamic TableViews
  145. Implementing iOS 12 TableView Navigation using Storyboards
  146. An iOS 12 Multitasking Example
  147. Using Trait Variations to Design Adaptive iOS 12 User Interfaces
  148. Preparing an iOS 12 App to use iCloud Storage
  149. Working with Files in Swift on iOS 12
  150. Working with Directories in Swift on iOS 12
  151. iOS 12 Directory Handling and File I/O in Swift – A Worked Example
  152. An Introduction to CloudKit Data Storage on iOS 12
  153. Joining the Apple Developer Program
  154. Managing Files using the iOS 12 UIDocument Class
  155. An Example SQLite based iOS 12 Application using Swift and FMDB
  156. iOS 12 Database Implementation using SQLite
  157. Working with iOS 12 Databases using Core Data
  158. An iOS 12 Core Data Tutorial
  159. An iOS 12 CloudKit Example
  160. An Introduction to CloudKit Sharing
  161. An iOS 12 CloudKit Sharing Example
  162. An iOS 12 CloudKit Subscription Example
  163. Understanding iOS 12 Views, Windows and the View Hierarchy
  164. An Example iOS 12 Touch, Multitouch and Tap Application
  165. Detecting iOS 12 Touch Screen Gesture Motions
  166. A 3D Touch Force Handling Tutorial
  167. An Overview of iOS 12 Multitouch, Taps and Gestures
  168. Identifying Gestures using iOS 12 Gesture Recognizers
  169. An iOS 12 Gesture Recognition Tutorial
  170. An iOS 12 Graphics Tutorial using Core Graphics and Core Image
  171. Drawing iOS 12 2D Graphics with Core Graphics
  172. Interface Builder Live Views and iOS 12 Embedded Frameworks
  173. An iOS 12 Storyboard-based Collection View Tutorial
  174. An Overview of iOS Collection View and Flow Layout
  175. An iOS 12 Collection View Drag and Drop Tutorial
  176. An Example iOS 12 MKMapItem Application
  177. Integrating Maps into iOS 12 Applications using MKMapItem
  178. An Example iOS 12 Location Application
  179. Working with Maps on iOS 12 with MapKit and the MKMapView Class
  180. iOS 12 Animation using UIViewPropertyAnimator
  181. An Example iOS 12 Camera Application
  182. iOS 12 Video Playback using AVPlayer and AVPlayerViewController
  183. Accessing the iOS 12 Camera and Photo Library
  184. An iOS 12 Today Extension Widget Tutorial
  185. Creating an iOS 12 Action Extension
  186. Receiving Data from an iOS 12 Action Extension
  187. Creating an iOS 12 Photo Editing Extension
  188. An Introduction to Building iOS 12 Message Apps
  189. An iOS 12 Interactive Message App Tutorial
  190. An Introduction to SiriKit
  191. An iOS 12 Example SiriKit Messaging Extension
  192. An iOS 12 SiriKit Photo Search Tutorial
  193. An Introduction to Extensions in iOS 12
  194. Customizing the SiriKit Intent User Interface
  195. Recording Audio on iOS 12 with AVAudioRecorder
  196. Playing Audio on iOS 12 using AVAudioPlayer
  197. An iOS 12 Real-Time Speech Recognition Tutorial
  198. An iOS 12 Speech Recognition Tutorial
  199. An iOS 12 Local Notification Tutorial
  200. An Overview of iOS 12 Application State Preservation and Restoration
  201. An iOS 12 Sprite Kit Level Editor Game Tutorial
  202. An iOS 12 Sprite Kit Particle Emitter Tutorial
  203. Configuring and Creating App Store Hosted Content for iOS 12 In-App Purchases
  204. An iOS 12 In-App Purchase Tutorial
  205. Preparing an iOS 12 Application for In-App Purchases
  206. Building In-App Purchasing into iOS 12 Applications