πŸ‘¨πŸ»β€πŸ’» Examples of new iOS 11 APIs

Overview

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.

Comments
  • App doesn't work on iPad

    App doesn't work on iPad

    Probably intended, and not a huge issue, but there's probably a way to not require NFC and the rest would work on iPad?

    I could and should dive in myself, but may not have time, so just leaving this here. Feel free to close/reject if it's not a priority.

    screen shot 2017-06-26 at 3 42 57 pm

    wont-fix 
    opened by CameronBanga 18
  • How CoreML is working in the sample?

    How CoreML is working in the sample?

    I am seeing "Inceptionv3.mlmodel" file inside the "CoreML" group. I am sure that the answers are coming from that 91mb mlmodel file.

    Few questions:

    1. Where did you get this file?
    2. Is this the dependency for this task? I mean, if we don't have this file, we couldn't do this?
    3. Why we need CoreML framework to work with this file?

    P.S. Here this file means, mlmodel file.

    opened by hemangshah 8
  • Why a paid apple developer account is must?

    Why a paid apple developer account is must?

    To run this project, we should provide our own Apple Developer paid Account. Now, this should not be a constraint. I am not having an Apple account, what should I do run it? Generally, I should able to install an app in my iPhone with my Apple ID which is not linked to paid membership.

    opened by hemangshah 8
  • Image Not Valid Size for CoreML

    Image Not Valid Size for CoreML

    I try to run the app and I get this error

    {Error Domain=com.apple.CoreML Code=1 "Image is not valid width 299, instead is 449" UserInfo={NSLocalizedDescription=Image is not valid width 299, instead is 449}}}

    I see in the UIImage+Processing.swift that you resize the image to 149.5 rather than the model input size, which is 299. I am testing on an iPhone6SPlus, so I am not sure if screen size is an issue.

    Any help or advice on how to trouble shoot would be great!

    hacktoberfest wont-fix 
    opened by interactivetech 5
  • Screen capture example

    Screen capture example

    Hi! Do you have any screen capture example? I used to use this code (mixed with some Javascript/Nativescript) but, for some reason, it is not working anymore after updating to iOS11. I belive this is related to the new behavior of a screenshot (which now shows the captured image for a few seconds, before saving or opening it for editing):

    UIGraphicsBeginImageContextWithOptions(view.ios.frame.size, false, 0);
    view.ios.drawViewHierarchyInRectAfterScreenUpdates(CGRectMake(0, 0, view.ios.frame.size.width, view.ios.frame.size.height), true);
    var imageFromCurrentImageContext = UIGraphicsGetImageFromCurrentImageContext();
    UIGraphicsEndImageContext();
    return imageSource.fromData(UIImagePNGRepresentation(imageFromCurrentImageContext));
    
    wont-fix 
    opened by d3mac123 3
  • New Core Image Filters

    New Core Image Filters

    Could you add examples of the new Core Image filters? CITextImageGenerator, CIColorCurves, CILabDeltaE, CIBokehBlur, CIMinMaxRed and CIBicubicScaleTransform.

    hacktoberfest wont-fix 
    opened by hipwelljo 3
  • Do anyone has the Sample Code for

    Do anyone has the Sample Code for "Handling 3D Interaction and UI Controls in Augmented Reality"

    Apple published the "Handling 3D Interaction and UI Controls in Augmented Reality" sample code. but this is for BETA iOS 11.3.

    Do anyone has the previous 11.2 version ? I dont want to develop for 11.3 I want to develop to current latest public iOS version.

    https://developer.apple.com/documentation/arkit/handling_3d_interaction_and_ui_controls_in_augmented_reality

    wont-fix 
    opened by omarojo 2
  • Updates for Xcode 9.3

    Updates for Xcode 9.3

    • automatic recommended project settings for Xcode 9.3 beta 2
    • .gitignore for *.xcuserstate
    • map points to normalizedPoints in VNFaceLandmarkRegion2D
    • improved pixelBuffer error handling in UIImage+Processing.swift
    opened by Sidetalker 2
  • Error code in MessageFilterExtension.swift

    Error code in MessageFilterExtension.swift

    Hi there!

    There is an error in line 48 of the MessageFilterExtension.swift file... For some reason that I do not figure out yet, I can't submit a pull request, so here is the line to fix:

    let messageBody = queryRequest.messageBody ?? "No body"

    Thanks for sharing this code, help me a lot!! ;-)

    question wont-fix 
    opened by cairano 2
  • Layout fixes to CoreML view.

    Layout fixes to CoreML view.

    Added some auto layout constraints, and removed one line limit on CoreML response results, so that a good number of returns will no longer truncate a the response and accuracy values.

    opened by CameronBanga 1
Owner
Artem Novichkov
Bearded iOS developer from Siberia πŸ‘¨πŸ»β€πŸ’»
Artem Novichkov
Sample iOS AR app that demonstrates how to capture the texture of a user's face in realtime.

Sample iOS AR app that demonstrates how to capture the texture of a user's face in realtime. This texture can be used to create a simple textured 3D face model.

Matt Bierner 58 Dec 14, 2022
IOS example app to generate point clouds in ARKit using scenedepth

Visualizing a Point Cloud Using Scene Depth Place points in the real-world using the scene's depth data to visualize the shape of the physical environ

Isak Diaz 20 Oct 31, 2022
PlacenoteSDK Sample app in native iOS using ARKit, written primarily in Swift

Placenote SDK for iOS Placenote SDK lets you easily build cloud-based Augmented Reality (AR) apps that pin digital content to locations in the real wo

Placenote 93 Nov 15, 2022
This is a sample AR project written with Swift language for iOS devices

ARSample This is a sample AR project written with Swift language for iOS devices. While I was learning the ARKit framework, I defined this project and

Kamyar Sehati 2 Jun 27, 2022
An iOS app πŸ“±that detects the image and plays video on top of it just like the harry potter movies

AR-Magic-Image This is an iOS application ?? inspired from Harry Potter movies. It tracks the image and plays the assigned video on top of the image u

Vatsal Patel 4 Dec 17, 2022
Furniture E-Commerce Augmented Reality(AR) app in iOS powered by ARKit

HomeMax-iOS Furniture E-Commerce Augmented Reality(AR) app in iOS powered by ARKit and SceneKit. Inspired by IKEA place app. Description Experience on

Ikmal Azman 5 Oct 14, 2022
ARVideoPortal - A Minimal iOS AR app to display 360 / video in sphere space

AR Video Portal A minimal iOS AR app to display 360 / video in sphere space. Xco

Yasuhito Nagatomo 6 Jun 3, 2022
ARInRoomISS - A minimal iOS AR app that displays the International Space Station (ISS) in the room

A minimal iOS AR app to display the International Space Station (ISS) in the room.

Yasuhito Nagatomo 3 Feb 3, 2022
AREarthObservatory - A minimal iOS AR app that visualizes time-series changes in the global environment based on data from NASA satellites

A minimal iOS AR app that visualizes time-series changes in the global environment based on data from NASA satellites

Yasuhito Nagatomo 3 Aug 11, 2022
A minimal iOS AR app with the Comic Postprocess Effect

AR Comic Effect A minimal iOS AR app with the Comic Postprocess Effect. Xcode 13.2.1 Target: iOS / iPadOS 15.0+ SwiftUI, ARKit, RealityKit 2, Core Ima

Yasuhito Nagatomo 14 Jun 22, 2022
AR Ruler - A simple iOS app made using ARKit and SceneKit

A simple iOS app made using ARKit and SceneKit.Which can try to simplify little things in your life such as measuring stuff.

Dishant Nagpal 5 Aug 31, 2022
Develop simple and fun Augmented Reality (AR) iOS apps

AR-Dice Simple and fun to use iOS app made to make Augmented reality (AR) be in

Dishant Nagpal 1 Feb 23, 2022
A minimal iOS AR app that displays a wave animation using RealityKit2 Geometry Modifier

AR Simple Sea A minimal iOS AR app that displays a wave animation using RealityKit2 Geometry Modifier. Xcode 13.3 Target: iOS / iPadOS 15.0+ SwiftUI,

Yasuhito Nagatomo 15 Dec 29, 2022
A sample collection of basic functions of Apple's AR framework for iOS.

RealityKit-Sampler RealityKitSampler is a sample collection of basic functions of RealityKit, Apple's AR framework for iOS. How to build 1, Download o

MLBoy 74 Dec 21, 2022
Unofficial Google ARCore Swift Package for iOS

Google didn't want to make a swift package for ARCore… so let's do it instead.

Max Cobb 4 Jul 15, 2022
A minimal iOS AR app that displays virtual objects at specific geographical locations, in an AR scene.

AR Simple GeoLocation A minimal iOS AR, Augmented Reality, app that displays virtual objects at specific geographical location, in an AR scene. With t

Yasuhito Nagatomo 23 Dec 16, 2022
Smart Online Shopping iOS App with Augmented Reality (AR) and simple Social Media features using SwiftUI and Google Firebase Cloud Services

Table of contents App Demo How to Run Context Content How it's written Inspiration App Demo AR.online.shopping.iOS.demo.mp4 How to Run First make sure

Ashkan Goharfar 13 Nov 1, 2022
Examples of new SwiftUI framework

SwiftUI by Examples SwiftUI is a simple way to build user interfaces across all Apple platforms with the power of Swift. I'm going to fill the repo wi

Artem Novichkov 192 Dec 9, 2022
Voice Memos is an audio recorder App for iPhone and iPad that covers some of the new technologies and APIs introduced in iOS 8 written in Swift.

VoiceMemos Voice Memos is a voice recorder App for iPhone and iPad that covers some of the new technologies and APIs introduced in iOS 8 written in Sw

Zhouqi Mo 322 Aug 4, 2022
Discover new programming concepts and more new SwiftUI 2 features in this section

Africa-Zoo One thing is sure, we will discover new programming concepts and more new SwiftUI 2 features in this section. TOPICS ARE COVERED: JSON with

Noye Samuel 2 Nov 8, 2022