{"id":13489117,"url":"https://github.com/shu223/iOS-9-Sampler","last_synced_at":"2025-03-28T04:30:54.559Z","repository":{"id":140525526,"uuid":"41318214","full_name":"shu223/iOS-9-Sampler","owner":"shu223","description":"Code examples for the new features of iOS 9.","archived":false,"fork":false,"pushed_at":"2024-05-01T01:29:13.000Z","size":11782,"stargazers_count":3430,"open_issues_count":0,"forks_count":405,"subscribers_count":185,"default_branch":"master","last_synced_at":"2025-03-23T12:07:18.160Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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":"2015-08-24T17:50:53.000Z","updated_at":"2025-03-22T22:10:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"ff77d960-8d8b-4dac-a807-e27c17717695","html_url":"https://github.com/shu223/iOS-9-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-9-Sampler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shu223%2FiOS-9-Sampler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shu223%2FiOS-9-Sampler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shu223%2FiOS-9-Sampler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shu223","download_url":"https://codeload.github.com/shu223/iOS-9-Sampler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245970336,"owners_count":20702390,"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":[],"created_at":"2024-07-31T19:00:17.420Z","updated_at":"2025-03-28T04:30:52.900Z","avatar_url":"https://github.com/shu223.png","language":"Swift","readme":"# iOS-9-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 the new features of iOS 9.\n\n\n## How to build\n\nJUST BUILD with **Xcode 7**.\n\n\n## Contents\n\n### Map Customizations\n\n**Flyover** can be selected with new map types, and **Traffic**, Scale and Compass can be shown.\n\n\u003c!--\u003cimg src=\"ResourcesForREADME/map2.jpg\" width=\"405\"\u003e--\u003e\n\n![](ResourcesForREADME/map.gif)\n\n\n### Text Detector\n\nText detection using new detector type \"CIDetectorTypeText\".\n\n\u003cimg src=\"ResourcesForREADME/textdetector.jpg\" width=\"200\"\u003e\n\n\n### New Image Filters\n\nNew filters of CIFilter which can be used for Still Images.\n\n\u003cimg src=\"ResourcesForREADME/imagefilters.gif\"\u003e\n\n**NOTE:** 29 filters are supported in this example, however **\"CISpotLight\" don't work correctly** with current code. I would much appreciated your pull request!\n\n\n### Audio Unit Component Manager\n\nRetrieve audio unit components using AudioUnitComponentManager and apply them to a sound using some new methods. If there are some Audio Unit Extensions, they will be also shown in the components list.\n\n\u003cimg src=\"ResourcesForREADME/aucomponents.jpg\" width=\"200\"\u003e\n\n\n### Speech Voices\n\nExample for new properties which are added to AVSpeechSynthesisVoice such as language, name, quality...\n\n\u003cimg src=\"ResourcesForREADME/speech.jpg\" width=\"200\"\u003e\n\n\n### CASpringAnimation\n\nAnimation example using CASpringAnimation.\n\n![](ResourcesForREADME/spring.gif)\n\n### UIStackView\n\nAuto Layout example using UIStackView.\n\n![](ResourcesForREADME/uistackview.gif)\n\n### Selfies \u0026 Screenshots\n\nFetch photos filtered with new subtypes `PHAssetCollectionSubtype.SmartAlbumSelfPortraits` and `PHAssetMediaSubtype.PhotoScreenshot` which are added to Photos framework.\n\n\u003cimg src=\"ResourcesForREADME/screenshots.jpg\" width=\"200\"\u003e\n\n\n### String Transform\n\n**String transliteration** examples using new APIs of Foundation framework.\n\n\u003cimg src=\"ResourcesForREADME/stringtransform.jpg\" width=\"200\"\u003e\n\n\n### Core Image Transitions\n\nNew transition effects which are added to `CITransitionCategory`.\n\n![](ResourcesForREADME/ripple.gif)\n\n### Search APIs\n\nExample for Search APIs using NSUserActivity and **Core Spotlight**.\n\n\u003cimg src=\"ResourcesForREADME/searchapis.jpg\" width=\"200\"\u003e\n\n\n### Content Blockers\n\nExample for Content Blocker Extensions.\n\n\u003cimg src=\"ResourcesForREADME/blocker.jpg\" width=\"200\"\u003e\n\n\n### SFSafariViewController\n\nOpen web pages with SFSafariViewController.\n\n\u003cimg src=\"ResourcesForREADME/safari.jpg\" width=\"200\"\u003e\n\n\n### Attributes of New Filters\n\nExtract new filters of CIFilter using `kCIAttributeFilterAvailable_iOS`. There are **41 new filters**.\n\n\u003cimg src=\"ResourcesForREADME/filterattributes.jpg\" width=\"405\"\u003e\n\n\n### Low Power Mode\n\nDetect changes of \"Low Power Mode\" setting.\n\n\n### New Fonts\n\nGallery of **31 new fonts**.\n\n\u003cimg src=\"ResourcesForREADME/fonts.jpg\" width=\"200\"\u003e\n\n\n### Contacts (Created by [manhattan918](https://github.com/manhattan918))\n\nContacts framework sample.\n\n\u003cimg src=\"ResourcesForREADME/contacts.jpg\" width=\"200\"\u003e\n\n\n### ReplayKit (Created by [manhattan918](https://github.com/manhattan918))\n\nReplayKit framework sample.\n\n\u003cimg src=\"ResourcesForREADME/replaykit.jpg\" width=\"200\"\u003e\n\n\n### Quick Actions (3D Touch)  \n\nPress the Icon on Home screen deeply, so you can access to the shortcut menu.\n\n\u003cimg src=\"ResourcesForREADME/shortcut.jpg\" width=\"200\"\u003e\n\nPlease see `UIApplicationShortcutItems` key in Info.plist and `application:performActionForShortcutItem:completionHandler:` method in AppDelegate to know how it's implemented.\n\n**NOTE:** Your device have to support 3D Touch.\n\n### Force Touch (3D Touch)\n\nVisualize the forces of touches using new properties of UITouch `force` and `maximumPossibleForce`.\n\n![](ResourcesForREADME/forcetouch.gif)\n\n**NOTE:** Your device have to support 3D Touch.\n\n### Live Photos\n\nShow a Live Photo using `PHLivePhoto` and `PHLivePhotoView` which are added in iOS 9.1.\n\n![](ResourcesForREADME/livephoto.gif)\n\n\n## watchOS-2-Sampler\n\nYou can check the **examples for watchOS 2** features on [watchOS-2-Sampler](https://github.com/shu223/watchOS-2-Sampler)!!\n\n\u003ca href=\"https://github.com/shu223/watchOS-2-Sampler\"\u003e\u003cimg src=\"ResourcesForREADME/watchos2sampler.jpg\" width=\"200\"\u003e\u003c/a\u003e\n\n\u003cimg src=\"https://raw.githubusercontent.com/shu223/watchOS-2-Sampler/master/ResourcesForREADME/animation.gif\" align=\"left\" hspace=\"1\"\u003e\n\n\u003cimg src=\"https://raw.githubusercontent.com/shu223/watchOS-2-Sampler/master/ResourcesForREADME/tableanim.gif\" align=\"left\" hspace=\"1\"\u003e\n\n\u003cimg src=\"https://raw.githubusercontent.com/shu223/watchOS-2-Sampler/master/ResourcesForREADME/crownanim.gif\" align=\"left\" hspace=\"1\"\u003e\n\n\u003cbr clear=\"both\"\u003e\n\n- https://github.com/shu223/watchOS-2-Sampler\n\n\n## Author\n\n**Shuichi Tsutsumi**\n\niOS freelancer in Japan. Welcome works from abroad!\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","funding_links":["https://github.com/sponsors/shu223","https://paypal.me/shu223","https://note.com/shu223/m/me1aa6761ab16"],"categories":["iOS9","Swift","etc","Demo Apps / 示例程序","Demo Apps"],"sub_categories":["iOS"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshu223%2FiOS-9-Sampler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshu223%2FiOS-9-Sampler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshu223%2FiOS-9-Sampler/lists"}