artemnovichkov / ios-11-by-examples Goto Github PK
View Code? Open in Web Editor NEW👨🏻💻 Examples of new iOS 11 APIs
License: MIT License
👨🏻💻 Examples of new iOS 11 APIs
License: MIT License
I run the project and Xcode say this.
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));
Could you add examples of the new Core Image filters?
CITextImageGenerator
, CIColorCurves
, CILabDeltaE
, CIBokehBlur
, CIMinMaxRed
and CIBicubicScaleTransform
.
Hello, what version of OpenGL does iOS 11 support?
Do you have any examples using OpenGL on iOS 11?
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.
The location of this file from the project file is ../../../../../Downloads/Inceptionv3.mlmodel
which isn't available on my machine.
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!! ;-)
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.
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:
P.S. Here this file means, mlmodel file.
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!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.