Skip to content
Code examples for the new features of iOS 8.
Objective-C Objective-C++ Metal Swift
Branch: master
Clone or download
Latest commit f854940 Apr 11, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Resouces Update with Xcode 10.2 Apr 11, 2019
ResourcesForREADME Added Touch Radius example Feb 18, 2015
iOS8Sampler.xcodeproj Swift 5.0 Apr 11, 2019
iOS8Sampler Fix an autolayout warning Apr 11, 2019
iOS8SamplerTests Fixed for Swift 2.0 / Minor changes Sep 9, 2015
libs Updated a lib Dec 22, 2016
.gitignore Update .gitignore May 4, 2016
LICENSE Initial commit Sep 8, 2014
README.md Update README Sep 15, 2018

README.md

iOS8-Sampler

License Twitter

Code examples for the new features of iOS 8.

How to build

JUST BUILD basically, however please note below:

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.

Touch Radius

Visualize the radiuses of touches using a new property of UITouch.

Visual Effects

Example for UIBlurEffect and UIVibrancyEffect.

Table Separator Effect

Example of separatorEffect which is a new property of UITableView.

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.

Altimeter

Get relative altitude using CMAltimeter. It works only on devices which have M8 motion co-processor.

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 Barcode.

New Fonts

Gallery of new fonts.

Popover

Example of UIPopoverPresentationController.

Table Row Action

Example of UITableViewRowAction.

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

iOS freelancer in Japan. Welcome works from abroad!

Support via PayPal

Special Thanks

Icons and LaunchImages are designed by Okazu

You can’t perform that action at this time.