{"id":15129945,"url":"https://github.com/shu223/ios-10-sampler","last_synced_at":"2025-10-07T10:59:09.665Z","repository":{"id":52232687,"uuid":"67268845","full_name":"shu223/iOS-10-Sampler","owner":"shu223","description":"Code examples for new APIs of iOS 10.","archived":false,"fork":false,"pushed_at":"2024-05-01T01:24:41.000Z","size":98795,"stargazers_count":3311,"open_issues_count":4,"forks_count":338,"subscribers_count":105,"default_branch":"master","last_synced_at":"2025-04-06T16:09:35.979Z","etag":null,"topics":["cnn","convolutional-neural-networks","demo","image-recognition","ios","ios10","metal","metal-cnn","metal-performance-shaders","speech","swift-3","swift-4","uiviewpropertyanimator"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shu223.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["shu223"],"custom":["https://paypal.me/shu223","https://note.com/shu223/m/me1aa6761ab16"]}},"created_at":"2016-09-03T03:24:29.000Z","updated_at":"2025-03-26T18:35:51.000Z","dependencies_parsed_at":"2024-11-29T02:15:15.893Z","dependency_job_id":null,"html_url":"https://github.com/shu223/iOS-10-Sampler","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shu223%2FiOS-10-Sampler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shu223%2FiOS-10-Sampler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shu223%2FiOS-10-Sampler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shu223%2FiOS-10-Sampler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shu223","download_url":"https://codeload.github.com/shu223/iOS-10-Sampler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248782178,"owners_count":21160715,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cnn","convolutional-neural-networks","demo","image-recognition","ios","ios10","metal","metal-cnn","metal-performance-shaders","speech","swift-3","swift-4","uiviewpropertyanimator"],"created_at":"2024-09-26T02:24:59.013Z","updated_at":"2025-10-07T10:59:04.599Z","avatar_url":"https://github.com/shu223.png","language":"Swift","funding_links":["https://github.com/sponsors/shu223","https://paypal.me/shu223","https://note.com/shu223/m/me1aa6761ab16"],"categories":[],"sub_categories":[],"readme":"# iOS-10-Sampler\n\n[![Platform](http://img.shields.io/badge/platform-ios-blue.svg?style=flat\n)](https://developer.apple.com/iphone/index.action)\n[![Language](http://img.shields.io/badge/language-swift-brightgreen.svg?style=flat\n)](https://developer.apple.com/swift)\n[![License](http://img.shields.io/badge/license-MIT-lightgrey.svg?style=flat\n)](http://mit-license.org)\n[![Twitter](https://img.shields.io/badge/twitter-@shu223-blue.svg?style=flat)](http://twitter.com/shu223)\n\n\nCode examples for new APIs of iOS 10.\n\n\n## How to build\n\nJust build with Xcode 8.\n\nIt can **NOT** run on **Simulator**. (Because it uses Metal.)\n\n\n## Contents\n\n### Speech Recognition\n\nSpeech Recognition demo using Speech Framework. All available languages can be selected.\n\n\u003cimg src=\"README_resources/speechrecognition.jpg\" width=\"405\"\u003e\n\n### Looper\n\nLoop playback demo using AVPlayerLooper.\n\n\u003cimg src=\"README_resources/loop_normal.gif\" align=\"left\"\u003e \u003cimg src=\"README_resources/loop_short.gif\"\u003e\n\u003cbr clear=\"all\"\u003e\n\n### Live Photo Capturing\n\nLive Photo Capturing example using AVCapturePhotoOutput.\n\n\u003cimg src=\"README_resources/livephoto.jpg\" width=\"200\"\u003e\n\n### Audio Fade-in/out\n\nAudio fade-in/out demo using `setVolume:fadeDuration` method which is added to `AVAudioPlayer`.\n\n### Metal CNN Basic: Digit Detection\n\nHand-writing digit detection using CNN (Convolutional Neural Network) by Metal Performance Shaders.\n\n\u003cimg src=\"README_resources/digit.gif\"\u003e\n\n### Metal CNN Advanced: Image Recognition\n\nReal-time image recognition using CNN (Convolutional Neural Network) by Metal Performance Shaders.\n\n\u003cimg src=\"README_resources/imagerecog.gif\"\u003e\n\n### PropertyAnimator: Position\n\nAnimating UIView's `center` \u0026 `backgroundColor` using `UIViewPropertyAnimator`.\n\n\u003cimg src=\"README_resources/animator1.gif\"\u003e\n\n### PropertyAnimator: Blur\n\nAnimating blur effect using `fractionComplete` property of `UIViewPropertyAnimator`.\n\n\u003cimg src=\"README_resources/animator2.gif\"\u003e\n\n### Preview Interaction\n\n**Peek \u0026 Pop interactions with 3D touch** using UIPreviewInteraction.\n\n\u003cimg src=\"README_resources/peekpop.gif\"\u003e\n\n### Notification with Image\n\nLocal notification with an image using UserNotifications framework.\n\n\u003cimg src=\"README_resources/notif1.jpg\" width=\"200\" alighn=\"left\"\u003e \u003cimg src=\"README_resources/notif2.jpg\" width=\"200\"\u003e\n\u003cbr clear=\"all\"\u003e\n\n### Sticker Pack\n\nExample of Sticker Pack for iMessage.\n\n\u003cimg src=\"README_resources/stickers.jpg\" width=\"200\"\u003e\n\n### Core Data Stack (Created by [nolili](https://github.com/nolili))\n\nSimple Core Data stack using NSPersistentContainer.\n\n\u003cimg src=\"README_resources/coredata.jpg\" width=\"200\"\u003e\n\n### TabBar Customization\n\nCustomization sample for UITabBar's badge using text attributes.\n\n\u003cimg src=\"README_resources/tab.jpg\" width=\"200\"\u003e\n\n### New filters\n\nNew filters of CIFilter in Core Image.\n\n\u003cimg src=\"README_resources/filter1.jpg\" width=\"200\" alighn=\"left\"\u003e \u003cimg src=\"README_resources/filter2.jpg\" width=\"200\"\u003e\n\u003cbr clear=\"all\"\u003e\n\n### New Fonts\n\nNew Fonts gallery\n\n\u003cimg src=\"README_resources/fonts.jpg\" width=\"200\"\u003e\n\n### Proactive: Location Suggestions\n\nThis sample demonstrates how to use new `mapItem` property of NSUserActivity to integrate with location suggestions.\n\n\u003cimg src=\"README_resources/proactive1.jpg\" width=\"200\" alighn=\"left\"\u003e \u003cimg src=\"README_resources/proactive2.jpg\" width=\"200\"\u003e\n\u003cbr clear=\"all\"\u003e\n\n### Attributed Speech\n\nAttributed Speech demo with `AVSpeechSynthesisIPANotationAttribute` for `AVSpeechUtterance`. \n\n\n### Haptic Feedback\n\nHaptic Feedbacks using UIFeedbackGenerator.\n\n\u003cimg src=\"README_resources/haptic.jpg\" width=\"200\"\u003e\n\n\n## Author\n\n**Shuichi Tsutsumi**\n\nFreelance iOS programmer in Japan.\n\n\u003ca href=\"https://paypal.me/shu223\"\u003e\n  \u003cimg alt=\"Support via PayPal\" src=\"https://cdn.rawgit.com/twolfson/paypal-github-button/1.0.0/dist/button.svg\"/\u003e\n\u003c/a\u003e\n\n- PAST WORKS:  [My Profile Summary](https://medium.com/@shu223/my-profile-summary-f14bfc1e7099#.vdh0i7clr)\n- PROFILES: [LinkedIn](https://www.linkedin.com/in/shuichi-tsutsumi-525b755b/)\n- BLOGS: [English](https://medium.com/@shu223/) / [Japanese](http://d.hatena.ne.jp/shu223/)\n- CONTACTS: [Twitter](https://twitter.com/shu223) / [Facebook](https://www.facebook.com/shuichi.tsutsumi)\n\n\n## Special Thanks\n\nThe icon is designed by [Okazu](https://www.facebook.com/pashimo)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshu223%2Fios-10-sampler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshu223%2Fios-10-sampler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshu223%2Fios-10-sampler/lists"}