shu223 / iOS-10-Sampler
- четверг, 15 сентября 2016 г. в 03:15:29
Swift
Code examples for new APIs of iOS 10.
Code examples for new APIs of iOS 10.
Just build with Xcode 8.
It can NOT run on Simulator. (Because it uses Metal.)
Speech Recognition demo using Speech Framework. All available languages can be selected.
Loop playback demo using AVPlayerLooper.
Live Photo Capturing example using AVCapturePhotoOutput.
Audio fade-in/out demo using setVolume:fadeDuration
method which is added to AVAudioPlayer.
Hand-writing digit detection using CNN (Convolutional Neural Network) by Metal Performance Shaders.
Real-time image recognition using CNN (Convolutional Neural Network) by Metal Performance Shaders.
Animating UIView's center
& backgroundColor
using UIViewPropertyAnimator.
Animating blur effect using fractionComplete
property of UIViewPropertyAnimator.
Peek & Pop interactions with 3D touch using UIPreviewInteraction.
Local notification with an image using UserNotifications framework.
Example of Sticker Pack for iMessage.
Simple Core Data stack using NSPersistentContainer.
Customization sample for UITabBar's badge using text attributes.
New filters of CIFilter in Core Image.
New Fonts gallery
This sample demonstrates how to use new mapItem
property of NSUserActivity to integrate with location suggestions.
Attributed Speech demo using attributedSpeechString
of AVSpeechUtterance.
But it seems NOT to affect the speech with this attribute. Anyone, please let me know how to use this new API.
Shuichi Tsutsumi
Freelance iOS programmer in Japan.
The icon is designed by Okazu