iOS 11 by Examples

👨🏻‍💻 Examples of new iOS 11 APIs

3317
310
Swift

iOS 11 by Examples Tweet

Xcode 9.3
Swift 4.1
iOS 11 GM seed

Code examples for new APIs of iOS 11.

Note: The project requires Xcode 9, 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.

Thanks @hollance for his useful CoreMLHelpers.

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.

Note: select CoreNFC-Example scheme and run.

MapKit

New map type, new anotation views and clustering!

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.

SpriteKit by mkowalski87

Attributed text for SKLabelNode and SKTransformNode.

Blogs/Newsletter

List of online sources which have mentioned iOS 11 by Examples:

Author

Artem Novichkov, https://www.artemnovichkov.com/about

License

The project is available under the MIT license. See the LICENSE file for more info.