• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

shu223/iOS-9-Sampler: Code examples for the new features of iOS 9.

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

shu223/iOS-9-Sampler

开源软件地址:

https://github.com/shu223/iOS-9-Sampler

开源编程语言:

Swift 74.6%

开源软件介绍:

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!

Support via PayPal

Special Thanks

The icon is designed by Okazu




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap