Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shu223/ios-9-sampler
Code examples for the new features of iOS 9.
https://github.com/shu223/ios-9-sampler
Last synced: 7 days ago
JSON representation
Code examples for the new features of iOS 9.
- Host: GitHub
- URL: https://github.com/shu223/ios-9-sampler
- Owner: shu223
- License: mit
- Created: 2015-08-24T17:50:53.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-05-01T01:29:13.000Z (8 months ago)
- Last Synced: 2024-12-27T03:05:53.855Z (7 days ago)
- Language: Swift
- Size: 11.2 MB
- Stars: 3,428
- Watchers: 185
- Forks: 407
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# iOS-9-Sampler
[![Platform](http://img.shields.io/badge/platform-ios-blue.svg?style=flat
)](https://developer.apple.com/iphone/index.action)
[![Language](http://img.shields.io/badge/language-swift-brightgreen.svg?style=flat
)](https://developer.apple.com/swift)
[![License](http://img.shields.io/badge/license-MIT-lightgrey.svg?style=flat
)](http://mit-license.org)
[![Twitter](https://img.shields.io/badge/[email protected]?style=flat)](http://twitter.com/shu223)Code examples for the new features of iOS 9.
## How to build
JUST BUILD with **Xcode 7**.
## Contents
### Map Customizations
**Flyover** can be selected with new map types, and **Traffic**, Scale and Compass can be shown.
![](ResourcesForREADME/map.gif)
### Text Detector
Text detection using new detector type "CIDetectorTypeText".
### New Image Filters
New filters of CIFilter which can be used for Still Images.
**NOTE:** 29 filters are supported in this example, however **"CISpotLight" don't work correctly** with current code. I would much appreciated your pull request!
### Audio Unit Component Manager
Retrieve 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.
### Speech Voices
Example for new properties which are added to AVSpeechSynthesisVoice such as language, name, quality...
### CASpringAnimation
Animation example using CASpringAnimation.
![](ResourcesForREADME/spring.gif)
### UIStackView
Auto Layout example using UIStackView.
![](ResourcesForREADME/uistackview.gif)
### Selfies & Screenshots
Fetch photos filtered with new subtypes `PHAssetCollectionSubtype.SmartAlbumSelfPortraits` and `PHAssetMediaSubtype.PhotoScreenshot` which are added to Photos framework.
### String Transform
**String transliteration** examples using new APIs of Foundation framework.
### Core Image Transitions
New transition effects which are added to `CITransitionCategory`.
![](ResourcesForREADME/ripple.gif)
### Search APIs
Example for Search APIs using NSUserActivity and **Core Spotlight**.
### Content Blockers
Example for Content Blocker Extensions.
### SFSafariViewController
Open web pages with SFSafariViewController.
### Attributes of New Filters
Extract new filters of CIFilter using `kCIAttributeFilterAvailable_iOS`. There are **41 new filters**.
### Low Power Mode
Detect changes of "Low Power Mode" setting.
### New Fonts
Gallery of **31 new fonts**.
### Contacts (Created by [manhattan918](https://github.com/manhattan918))
Contacts framework sample.
### ReplayKit (Created by [manhattan918](https://github.com/manhattan918))
ReplayKit framework sample.
### Quick Actions (3D Touch)
Press the Icon on Home screen deeply, so you can access to the shortcut menu.
Please see `UIApplicationShortcutItems` key in Info.plist and `application:performActionForShortcutItem:completionHandler:` method in AppDelegate to know how it's implemented.
**NOTE:** Your device have to support 3D Touch.
### Force Touch (3D Touch)
Visualize the forces of touches using new properties of UITouch `force` and `maximumPossibleForce`.
![](ResourcesForREADME/forcetouch.gif)
**NOTE:** Your device have to support 3D Touch.
### Live Photos
Show a Live Photo using `PHLivePhoto` and `PHLivePhotoView` which are added in iOS 9.1.
![](ResourcesForREADME/livephoto.gif)
## watchOS-2-Sampler
You can check the **examples for watchOS 2** features on [watchOS-2-Sampler](https://github.com/shu223/watchOS-2-Sampler)!!
- https://github.com/shu223/watchOS-2-Sampler
## Author
**Shuichi Tsutsumi**
iOS freelancer in Japan. Welcome works from abroad!
- PAST WORKS: [My Profile Summary](https://medium.com/@shu223/my-profile-summary-f14bfc1e7099#.vdh0i7clr)
- PROFILES: [LinkedIn](https://www.linkedin.com/in/shuichi-tsutsumi-525b755b/)
- BLOGS: [English](https://medium.com/@shu223/) / [Japanese](http://d.hatena.ne.jp/shu223/)
- CONTACTS: [Twitter](https://twitter.com/shu223) / [Facebook](https://www.facebook.com/shuichi.tsutsumi)## Special Thanks
The icon is designed by [Okazu](https://www.facebook.com/pashimo)