Giter Site home page Giter Site logo

ios-11-by-examples's Introduction

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

Image classification demo using Core ML framework. Show description of an object on selected photo.

Thanks @hollance for his useful CoreMLHelpers.

  • 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.

Augmented reality experiences in your app or game.

Easy way to move content.

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.

New map type, new anotation views and clustering!

SMS and MMS filtering using IdentityLookup framework. Don't forget to turn on an extension in Messages > Unknown & Spam > SMS filtering.

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.

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.

ios-11-by-examples's People

Contributors

artemnovichkov avatar lisadziuba avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ios-11-by-examples's Issues

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.

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));

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.

Inceptionv3.mlmodel is not found

The location of this file from the project file is ../../../../../Downloads/Inceptionv3.mlmodel which isn't available on my machine.

Unavailable issues

An Application Group with Identifier 'group.com.artemnovichkov.iOS-11-by-Examples' is not available. Please enter a different string. screen shot 2017-07-26 at 10 35 05 am

New Core Image Filters

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

OpenGL

Hello, what version of OpenGL does iOS 11 support?
Do you have any examples using OpenGL on iOS 11?

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!

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!! ;-)

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.