iOS8-Sampler

https://github.com/shu223/iOS8-Sampler

iOS8-Sampler

Code examples for the new functions of iOS 8.

How to build

JUST BUILD basically, however please note below:

Schemes

  • Use "iOS8Sampler" Scheme for DEVICES.
  • Use "iOS8SamplerSimulator" Scheme for SIMULATORS

This is because Metal can't be compiled for Simulators. When you have build error, try to delete the Derived Data:

/Users/shuichi/Library/Developer/Xcode/DerivedData/iOS8Sampler-{xxxxxxxxxx}

Provisioning Profile

When try the HealthKit or HomeKit examples, you have to use a provisioning profile for which HealthKit or HomeKit are enabled.

Contents

Audio Effects

Distortion and Delay effect for audio using AVAudioEngine.

New Image Filters

New filters of CIFilter such as CIGrassDistortion, CIDivideBlendMode, etc...

Custom Filters

Custom CIFilter examples using CIKernel.

Metal Basic

Render a set of cubes using Metal. Based on Apple's "MetalBasic3D" sample.

Metal Uniform Streaming

Demo using a data buffer to set uniforms for the vertex and fragment shaders.

SceneKit

Render a 2D image on 3D scene using SceneKit framework.

HealthKit

Fetch all types of data which are available in HealthKit. Need to use a provisioning profile for which HealthKit is enabled.

TouchID

Invoke Touch ID verification using LocalAuthentication.

Visual Effects

Example for UIBlurEffect and UIVibrancyEffect.

Ruby Annotation

Display the pronunciation of characters using CTRubyAnnotationRef.

WebKit

Browsing example using WKWebView.

UIAlertController

Show Alert or ActionSheet using UIAlertController.

User Notification

Schedule a local notification which has custom actions using UIUserNotificationSettings.

Pedometer

Counting steps demo using CMPedometer. It works only on devices which have M7 or M8 motion co-processor.

AVKit

Media playback demo using AVKit framework.

Histogram

Generate a histogram from an image using the filters CIAreaHistogram and CIHistogramDisplayFilter.

Code Generator

Generate Aztec Code and 128 Barcord.

New Fonts

Gallery of new fonts.

Popover

Example of UIPopoverPresentationController.

Accordion Fold Transition

Transitions from one image to another by folding like accordion. However it doesn't work correctly...PULL REQUESTS welcome!!

Author

Shuichi Tsutsumi

Special Thanks

Icons and LaunchImages are designed by Okazu

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值