[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-6993":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":16,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":17,"rankGlobal":10,"rankLanguage":10,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":21,"hasPages":19,"topics":22,"createdAt":10,"pushedAt":10,"updatedAt":36,"readmeContent":37,"aiSummary":38,"trendingCount":16,"starSnapshotCount":16,"syncStatus":39,"lastSyncTime":40,"discoverSource":41},6993,"iOS-10-Sampler","shu223\u002FiOS-10-Sampler","shu223","Code examples for new APIs of iOS 10.","",null,"Swift",3280,328,102,4,0,59.55,"MIT License",false,"master",true,[23,24,25,26,27,28,29,30,31,32,33,34,35],"cnn","convolutional-neural-networks","demo","image-recognition","ios","ios10","metal","metal-cnn","metal-performance-shaders","speech","swift-3","swift-4","uiviewpropertyanimator","2026-06-12 04:00:31","# iOS-10-Sampler\n\n[![Platform](http:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fplatform-ios-blue.svg?style=flat\n)](https:\u002F\u002Fdeveloper.apple.com\u002Fiphone\u002Findex.action)\n[![Language](http:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flanguage-swift-brightgreen.svg?style=flat\n)](https:\u002F\u002Fdeveloper.apple.com\u002Fswift)\n[![License](http:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-lightgrey.svg?style=flat\n)](http:\u002F\u002Fmit-license.org)\n[![Twitter](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Ftwitter-@shu223-blue.svg?style=flat)](http:\u002F\u002Ftwitter.com\u002Fshu223)\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\u002Fspeechrecognition.jpg\" width=\"405\">\n\n### Looper\n\nLoop playback demo using AVPlayerLooper.\n\n\u003Cimg src=\"README_resources\u002Floop_normal.gif\" align=\"left\"> \u003Cimg src=\"README_resources\u002Floop_short.gif\">\n\u003Cbr clear=\"all\">\n\n### Live Photo Capturing\n\nLive Photo Capturing example using AVCapturePhotoOutput.\n\n\u003Cimg src=\"README_resources\u002Flivephoto.jpg\" width=\"200\">\n\n### Audio Fade-in\u002Fout\n\nAudio fade-in\u002Fout 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\u002Fdigit.gif\">\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\u002Fimagerecog.gif\">\n\n### PropertyAnimator: Position\n\nAnimating UIView's `center` & `backgroundColor` using `UIViewPropertyAnimator`.\n\n\u003Cimg src=\"README_resources\u002Fanimator1.gif\">\n\n### PropertyAnimator: Blur\n\nAnimating blur effect using `fractionComplete` property of `UIViewPropertyAnimator`.\n\n\u003Cimg src=\"README_resources\u002Fanimator2.gif\">\n\n### Preview Interaction\n\n**Peek & Pop interactions with 3D touch** using UIPreviewInteraction.\n\n\u003Cimg src=\"README_resources\u002Fpeekpop.gif\">\n\n### Notification with Image\n\nLocal notification with an image using UserNotifications framework.\n\n\u003Cimg src=\"README_resources\u002Fnotif1.jpg\" width=\"200\" alighn=\"left\"> \u003Cimg src=\"README_resources\u002Fnotif2.jpg\" width=\"200\">\n\u003Cbr clear=\"all\">\n\n### Sticker Pack\n\nExample of Sticker Pack for iMessage.\n\n\u003Cimg src=\"README_resources\u002Fstickers.jpg\" width=\"200\">\n\n### Core Data Stack (Created by [nolili](https:\u002F\u002Fgithub.com\u002Fnolili))\n\nSimple Core Data stack using NSPersistentContainer.\n\n\u003Cimg src=\"README_resources\u002Fcoredata.jpg\" width=\"200\">\n\n### TabBar Customization\n\nCustomization sample for UITabBar's badge using text attributes.\n\n\u003Cimg src=\"README_resources\u002Ftab.jpg\" width=\"200\">\n\n### New filters\n\nNew filters of CIFilter in Core Image.\n\n\u003Cimg src=\"README_resources\u002Ffilter1.jpg\" width=\"200\" alighn=\"left\"> \u003Cimg src=\"README_resources\u002Ffilter2.jpg\" width=\"200\">\n\u003Cbr clear=\"all\">\n\n### New Fonts\n\nNew Fonts gallery\n\n\u003Cimg src=\"README_resources\u002Ffonts.jpg\" width=\"200\">\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\u002Fproactive1.jpg\" width=\"200\" alighn=\"left\"> \u003Cimg src=\"README_resources\u002Fproactive2.jpg\" width=\"200\">\n\u003Cbr clear=\"all\">\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\u002Fhaptic.jpg\" width=\"200\">\n\n\n## Author\n\n**Shuichi Tsutsumi**\n\nFreelance iOS programmer in Japan.\n\n\u003Ca href=\"https:\u002F\u002Fpaypal.me\u002Fshu223\">\n  \u003Cimg alt=\"Support via PayPal\" src=\"https:\u002F\u002Fcdn.rawgit.com\u002Ftwolfson\u002Fpaypal-github-button\u002F1.0.0\u002Fdist\u002Fbutton.svg\"\u002F>\n\u003C\u002Fa>\n\n- PAST WORKS:  [My Profile Summary](https:\u002F\u002Fmedium.com\u002F@shu223\u002Fmy-profile-summary-f14bfc1e7099#.vdh0i7clr)\n- PROFILES: [LinkedIn](https:\u002F\u002Fwww.linkedin.com\u002Fin\u002Fshuichi-tsutsumi-525b755b\u002F)\n- BLOGS: [English](https:\u002F\u002Fmedium.com\u002F@shu223\u002F) \u002F [Japanese](http:\u002F\u002Fd.hatena.ne.jp\u002Fshu223\u002F)\n- CONTACTS: [Twitter](https:\u002F\u002Ftwitter.com\u002Fshu223) \u002F [Facebook](https:\u002F\u002Fwww.facebook.com\u002Fshuichi.tsutsumi)\n\n\n## Special Thanks\n\nThe icon is designed by [Okazu](https:\u002F\u002Fwww.facebook.com\u002Fpashimo)\n","该项目提供了iOS 10新API的代码示例。核心功能包括语音识别、循环播放、实时照片捕捉、音频淡入淡出、基于Metal的卷积神经网络图像识别、属性动画器、3D触摸预览交互、带有图片的本地通知、iMessage贴纸包、Core Data堆栈、自定义标签栏和新的Core Image滤镜等。项目使用Swift编写，并充分利用了Metal性能着色器来加速计算密集型任务如CNN。适合iOS开发者学习和实践iOS 10的新特性，以及对于希望快速集成这些高级特性的应用开发场景非常有用。",2,"2026-06-11 03:10:02","top_language"]