iOS-9-Sampler

Code examples for the new features of iOS 9.

  • 所有者: shu223/iOS-9-Sampler
  • 平台:
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

iOS-9-Sampler

Platform
Language
License
Twitter

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.

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.

UIStackView

Auto Layout example using UIStackView.

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.

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)

Contacts framework sample.

ReplayKit (Created by 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.

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.

watchOS-2-Sampler

You can check the examples for watchOS 2 features on watchOS-2-Sampler!!

Author

Shuichi Tsutsumi

iOS freelancer in Japan. Welcome works from abroad!

Special Thanks

The icon is designed by Okazu

主要指標

概覽
名稱與所有者shu223/iOS-9-Sampler
主編程語言Swift
編程語言Swift (語言數: 2)
平台
許可證MIT License
所有者活动
創建於2015-08-24 17:50:53
推送於2024-05-01 01:29:13
最后一次提交2024-05-01 10:29:09
發布數0
用户参与
星數3.4k
關注者數185
派生數405
提交數96
已啟用問題?
問題數0
打開的問題數0
拉請求數5
打開的拉請求數0
關閉的拉請求數2
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?