iOS 11 by Examples
Code examples for new APIs of iOS 11.
Note: The project requires Xcode 9 Beta 1 or later, Swift 4 and iOS 11.
Table of contents
Core ML
Image classification demo using Core ML framework. Show description of an object on selected photo.
Vision
- Face detection. Detects all faces on selected photo.
- Face landmarks. An image analysis that finds facial features (such as the eyes and mouth) in an image.
- Object tracking. Track any object using camera.
ARKit
Augmented reality experiences in your app or game.
Drag and Drop
Easy way to move content.
Core NFC
Reading of NFC tag payloads. Don't forget to enable NFC Tag Reading for App ID in the Apple Developer site. Since Xcode 9 beta 2 Core NFC can now be enabled via the Capabilities tab in Xcode.
Note: select CoreNFC-Example scheme and run.
IdentityLookup
SMS and MMS filtering using IdentityLookup framework. Don't forget to turn on an extension in Messages > Unknown & Spam > SMS filtering.
DeviceCheck
Identifying devices that have already taken advantage of a promotional offer that you provide, or flagging a device that you have determined to be fraudulent.
Note: select DeviceChecking scheme and run.
Blogs/Newsletter
List of online sources which have mentioned iOS 11 by Examples:
- Digest MBLTDEV - issue #123
- Natasha's This Week in Swift - issue #136
- Indie iOS Focus Weekly - issue #127
- iOS Developers Slack Weekly Digest, June 28, 2017
- iOS Cookies Newsletter - issue #83
- iOSGoodies - issue #187
- iOS Dev Weekly - issue #307
Author
Artem Novichkov, [email protected]
License
iOS 11 by Examples is available under the MIT license. See the LICENSE file for more info.