iOS 12 App Development Essentials
Learn to Develop IOS 12 Apps with Xcode 10 and Swift 4
- English
- ePUB (mobile friendly)
- Available on iOS & Android
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
Information
1. Start Here
1.1 For New iOS Developers
1.2 For iOS 11 Developers
Table of contents
- 1. Start Here
- 2. Joining the Apple Developer Program
- 3. Installing Xcode 10 and the iOS 12 SDK
- 4. A Guided Tour of Xcode 10
- 5. An Introduction to Xcode 10 Playgrounds
- 6. Swift Data Types, Constants and Variables
- 7. Swift Operators and Expressions
- 8. Swift Flow Control
- 9. The Swift Switch Statement
- 10. An Overview of Swift 4 Functions, Methods and Closures
- 11. The Basics of Object-Oriented Programming in Swift
- 12. An Introduction to Swift Subclassing and Extensions
- 13. Working with Array and Dictionary Collections in Swift
- 14. Understanding Error Handling in Swift 4
- 15. The iOS 12 Application and Development Architecture
- 16. Creating an Interactive iOS 12 App
- 17. Understanding iOS 12 Views, Windows and the View Hierarchy
- 18. An Introduction to Auto Layout in iOS 12
- 19. Working with iOS 12 Auto Layout Constraints in Interface Builder
- 20. An iOS 12 Auto Layout Example
- 21. Implementing iOS 12 Auto Layout Constraints in Code
- 22. Implementing Cross-Hierarchy Auto Layout Constraints in iOS 12
- 23. Understanding the iOS 12 Auto Layout Visual Format Language
- 24. Using Trait Variations to Design Adaptive iOS 12 User Interfaces
- 25. Using Storyboards in Xcode 10
- 26. Organizing Scenes over Multiple Storyboard Files
- 27. Using Xcode 10 Storyboards to Create an iOS 12 Tab Bar Application
- 28. An Overview of iOS 12 Table Views and Xcode 10 Storyboards
- 29. Using Xcode 10 Storyboards to Build Dynamic TableViews
- 30. Implementing iOS 12 TableView Navigation using Storyboards
- 31. Integrating Search using the iOS UISearchController
- 32. Working with the iOS 12 Stack View Class
- 33. An iOS 12 Stack View Tutorial
- 34. An iOS 12 Split View Master-Detail Example
- 35. A Guide to Multitasking in iOS 12
- 36. An iOS 12 Multitasking Example
- 37. Working with Directories in Swift on iOS 12
- 38. Working with Files in Swift on iOS 12
- 39. iOS 12 Directory Handling and File I/O in Swift – A Worked Example
- 40. Preparing an iOS 12 App to use iCloud Storage
- 41. Managing Files using the iOS 12 UIDocument Class
- 42. Using iCloud Storage in an iOS 12 Application
- 43. Using iCloud Drive Storage in an iOS 12 App
- 44. An Overview of the iOS 12 Document Browser View Controller
- 45. An iOS 12 Document Browser Tutorial
- 46. Synchronizing iOS 12 Key-Value Data using iCloud
- 47. iOS 12 Database Implementation using SQLite
- 48. An Example SQLite based iOS 12 Application using Swift and FMDB
- 49. Working with iOS 12 Databases using Core Data
- 50. An iOS 12 Core Data Tutorial
- 51. An Introduction to CloudKit Data Storage on iOS 12
- 52. An Introduction to CloudKit Sharing
- 53. An iOS 12 CloudKit Example
- 54. An iOS 12 CloudKit Subscription Example
- 55. An iOS 12 CloudKit Sharing Example
- 56. An Overview of iOS 12 Multitouch, Taps and Gestures
- 57. An Example iOS 12 Touch, Multitouch and Tap Application
- 58. Detecting iOS 12 Touch Screen Gesture Motions
- 59. Identifying Gestures using iOS 12 Gesture Recognizers
- 60. An iOS 12 Gesture Recognition Tutorial
- 61. Implementing Touch ID and Face ID Authentication in iOS 12 Apps
- 62. Drawing iOS 12 2D Graphics with Core Graphics
- 63. Interface Builder Live Views and iOS 12 Embedded Frameworks
- 64. An iOS 12 Graphics Tutorial using Core Graphics and Core Image
- 65. iOS 12 Animation using UIViewPropertyAnimator
- 66. iOS 12 UIKit Dynamics – An Overview
- 67. An iOS 12 UIKit Dynamics Tutorial
- 68. An Overview of iOS Collection View and Flow Layout
- 69. An iOS 12 Storyboard-based Collection View Tutorial
- 70. Subclassing and Extending the Collection View Flow Layout
- 71. An Introduction to Drag and Drop in iOS 12
- 72. An iOS 12 Drag and Drop Tutorial
- 73. An iOS 12 Collection View Drag and Drop Tutorial
- 74. Integrating Maps into iOS 12 Applications using MKMapItem
- 75. An Example iOS 12 MKMapItem Application
- 76. Getting Location Information using the iOS 12 Core Location Framework
- 77. An Example iOS 12 Location Application
- 78. Working with Maps on iOS 12 with MapKit and the MKMapView Class
- 79. Working with MapKit Local Search in iOS 12
- 80. Using MKDirections to get iOS 12 Map Directions and Routes
- 81. An iOS 12 MapKit Flyover Tutorial
- 82. Accessing the iOS 12 Camera and Photo Library
- 83. An Example iOS 12 Camera Application
- 84. iOS 12 Video Playback using AVPlayer and AVPlayerViewController
- 85. An iOS 12 Multitasking Picture in Picture Tutorial
- 86. An Introduction to Extensions in iOS 12
- 87. An iOS 12 Today Extension Widget Tutorial
- 88. Creating an iOS 12 Photo Editing Extension
- 89. Creating an iOS 12 Action Extension
- 90. Receiving Data from an iOS 12 Action Extension
- 91. An Introduction to Building iOS 12 Message Apps
- 92. An iOS 12 Interactive Message App Tutorial
- 93. An Introduction to SiriKit
- 94. An iOS 12 Example SiriKit Messaging Extension
- 95. Customizing the SiriKit Intent User Interface
- 96. An iOS 12 SiriKit Photo Search Tutorial
- 97. An Overview of Siri Shortcut App Integration
- 98. Building Siri Shortcut Support into an iOS App
- 99. An Introduction to Machine Learning on iOS
- 100. Using Create ML to Build an Image Classification Model
- 101. An iOS Vision and Core ML Image Classification Tutorial
- 102. A 3D Touch Force Handling Tutorial
- 103. An iOS 12 3D Touch Quick Actions Tutorial
- 104. An iOS 12 3D Touch Peek and Pop Tutorial
- 105. An iOS 12 Local Notification Tutorial
- 106. Playing Audio on iOS 12 using AVAudioPlayer
- 107. Recording Audio on iOS 12 with AVAudioRecorder
- 108. An iOS 12 Speech Recognition Tutorial
- 109. An iOS 12 Real-Time Speech Recognition Tutorial
- 110. iOS 12 Multitasking, Background Transfer Service and Fetching
- 111. An Overview of iOS 12 Application State Preservation and Restoration
- 112. An iOS 12 State Preservation and Restoration Tutorial
- 113. An Introduction to iOS 12 Sprite Kit Programming
- 114. An iOS 12 Sprite Kit Level Editor Game Tutorial
- 115. An iOS 12 Sprite Kit Collision Handling Tutorial
- 116. An iOS 12 Sprite Kit Particle Emitter Tutorial
- 117. Making Store Purchases with the SKStoreProductViewController Class
- 118. Building In-App Purchasing into iOS 12 Applications
- 119. Preparing an iOS 12 Application for In-App Purchases
- 120. An iOS 12 In-App Purchase Tutorial
- 121. Configuring and Creating App Store Hosted Content for iOS 12 In-App Purchases
- 122. Preparing and Submitting an iOS 12 Application to the App Store
- Using iCloud Drive Storage in an iOS 12 App
- An Overview of Siri Shortcut App Integration
- Building Siri Shortcut Support into an iOS App
- An Introduction to Machine Learning on iOS
- Using Create ML to Build an Image Classification Model
- An iOS Vision and CoreML Image Classification Tutorial
- Installing Xcode 10 and the iOS 12 SDK
- An Introduction to Swift Playgrounds
- Working with Array and Dictionary Collections in Swift
- The Swift Switch Statement
- Swift Flow Control
- The Basics of Object-oriented Programming in Swift
- Creating an Interactive iOS 12 App
- The iOS 12 Application and Development Architecture
- A Guide to Multitasking in iOS 12
- Working with iOS 12 Auto Layout Constraints in Interface Builder
- An iOS 12 Auto Layout Example
- Understanding the iOS 12 Auto Layout Visual Format Language
- Implementing iOS 12 Auto Layout Constraints in Code
- An Introduction to Auto Layout in iOS 12
- Implementing Cross-Hierarchy Auto Layout Constraints in iOS 12
- Using Xcode 10 Storyboards to Build Dynamic TableViews
- Implementing iOS 12 TableView Navigation using Storyboards
- An iOS 12 Multitasking Example
- Using Trait Variations to Design Adaptive iOS 12 User Interfaces
- Preparing an iOS 12 App to use iCloud Storage
- Working with Files in Swift on iOS 12
- Working with Directories in Swift on iOS 12
- iOS 12 Directory Handling and File I/O in Swift – A Worked Example
- An Introduction to CloudKit Data Storage on iOS 12
- Joining the Apple Developer Program
- Managing Files using the iOS 12 UIDocument Class
- An Example SQLite based iOS 12 Application using Swift and FMDB
- iOS 12 Database Implementation using SQLite
- Working with iOS 12 Databases using Core Data
- An iOS 12 Core Data Tutorial
- An iOS 12 CloudKit Example
- An Introduction to CloudKit Sharing
- An iOS 12 CloudKit Sharing Example
- An iOS 12 CloudKit Subscription Example
- Understanding iOS 12 Views, Windows and the View Hierarchy
- An Example iOS 12 Touch, Multitouch and Tap Application
- Detecting iOS 12 Touch Screen Gesture Motions
- A 3D Touch Force Handling Tutorial
- An Overview of iOS 12 Multitouch, Taps and Gestures
- Identifying Gestures using iOS 12 Gesture Recognizers
- An iOS 12 Gesture Recognition Tutorial
- An iOS 12 Graphics Tutorial using Core Graphics and Core Image
- Drawing iOS 12 2D Graphics with Core Graphics
- Interface Builder Live Views and iOS 12 Embedded Frameworks
- An iOS 12 Storyboard-based Collection View Tutorial
- An Overview of iOS Collection View and Flow Layout
- An iOS 12 Collection View Drag and Drop Tutorial
- An Example iOS 12 MKMapItem Application
- Integrating Maps into iOS 12 Applications using MKMapItem
- An Example iOS 12 Location Application
- Working with Maps on iOS 12 with MapKit and the MKMapView Class
- iOS 12 Animation using UIViewPropertyAnimator
- An Example iOS 12 Camera Application
- iOS 12 Video Playback using AVPlayer and AVPlayerViewController
- Accessing the iOS 12 Camera and Photo Library
- An iOS 12 Today Extension Widget Tutorial
- Creating an iOS 12 Action Extension
- Receiving Data from an iOS 12 Action Extension
- Creating an iOS 12 Photo Editing Extension
- An Introduction to Building iOS 12 Message Apps
- An iOS 12 Interactive Message App Tutorial
- An Introduction to SiriKit
- An iOS 12 Example SiriKit Messaging Extension
- An iOS 12 SiriKit Photo Search Tutorial
- An Introduction to Extensions in iOS 12
- Customizing the SiriKit Intent User Interface
- Recording Audio on iOS 12 with AVAudioRecorder
- Playing Audio on iOS 12 using AVAudioPlayer
- An iOS 12 Real-Time Speech Recognition Tutorial
- An iOS 12 Speech Recognition Tutorial
- An iOS 12 Local Notification Tutorial
- An Overview of iOS 12 Application State Preservation and Restoration
- An iOS 12 Sprite Kit Level Editor Game Tutorial
- An iOS 12 Sprite Kit Particle Emitter Tutorial
- Configuring and Creating App Store Hosted Content for iOS 12 In-App Purchases
- An iOS 12 In-App Purchase Tutorial
- Preparing an iOS 12 Application for In-App Purchases
- Building In-App Purchasing into iOS 12 Applications