Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
shu223 committed Sep 17, 2014
1 parent 904cc56 commit 97249b7
Show file tree
Hide file tree
Showing 22 changed files with 156 additions and 4 deletions.
156 changes: 154 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,163 @@
![](http://f.cl.ly/items/0W2i0E151s0B3S3x3E3W/ogp_.jpg)

iOS8-Sampler
============

Code examples for the new functions of iOS 8.

![](http://f.cl.ly/items/0W2i0E151s0B3S3x3E3W/ogp_.jpg)
<img src="http://f.cl.ly/items/2m0W310X0f0J2Z0b0o2r/top.jpg" width="240">


##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.)


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

<img src="ResourcesForREADME/effects.jpg" width="200">

###New Image Filters

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

<img src="ResourcesForREADME/coreimage.jpg" width="200">


###Custom Filters

Custom CIFilter examples using CIKernel.

<img src="ResourcesForREADME/customfilter.jpg" width="200">


###Metal Basic

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

<img src="ResourcesForREADME/metal1.jpg" width="200">


###Metal Uniform Streaming

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

<img src="ResourcesForREADME/metal2.jpg" width="200">


###SceneKit

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

<img src="ResourcesForREADME/scene.jpg" width="200">


###HealthKit

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

<img src="ResourcesForREADME/health.jpg" width="200">

###TouchID

Invoke Touch ID verification using LocalAuthentication.

<img src="ResourcesForREADME/touch.jpg" width="200">


###Visual Effects

Example for UIBlurEffect and UIVibrancyEffect.

<img src="ResourcesForREADME/visualeffect.jpg" width="200">


###WebKit

Browsing example using WKWebView.

<img src="ResourcesForREADME/webkit.jpg" width="200">


###UIAlertController

Show Alert or ActionSheet using UIAlertController.

<img src="ResourcesForREADME/alert.jpg" height="355">


###User Notification

Schedule a local notification which has custom actions using UIUserNotificationSettings.

<img src="ResourcesForREADME/notification.jpg" height="355">


###Pedometer

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

<img src="ResourcesForREADME/pedometer.jpg" width="200">


###AVKit

Media playback demo using AVKit framework.

<img src="ResourcesForREADME/avkit.jpg" width="200">

###Histogram

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

<img src="ResourcesForREADME/histo.jpg" width="200">


###Code Generator

Generate Aztec Code and 128 Barcord.

<img src="ResourcesForREADME/codegen.jpg" height="355">


###New Fonts

Gallery of new fonts.

<img src="ResourcesForREADME/font.jpg" width="200">


###Popover

Example of UIPopoverPresentationController.

<img src="ResourcesForREADME/popover.jpg" width="200">


###Accordion Fold Transition

The code will be pushed on September 17.
Transitions from one image to another by folding like accordion. However it doesn't work correctly...**PULL REQUESTS welcome**!!


##Author
Expand Down
Binary file added ResourcesForREADME/alert.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ResourcesForREADME/avkit.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ResourcesForREADME/codegen.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ResourcesForREADME/coreimage.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ResourcesForREADME/customfilter.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ResourcesForREADME/effects.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ResourcesForREADME/font.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ResourcesForREADME/health.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ResourcesForREADME/histo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ResourcesForREADME/metal1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ResourcesForREADME/metal2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ResourcesForREADME/notification.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ResourcesForREADME/ogp_.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ResourcesForREADME/pedometer.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ResourcesForREADME/popover.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ResourcesForREADME/scene.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ResourcesForREADME/top.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ResourcesForREADME/touch.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ResourcesForREADME/visualeffect.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ResourcesForREADME/webkit.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions iOS8Sampler/MasterViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ - (void)viewDidLoad {
kItemKeyClassPrefix: @"ImageFilters",
},

// CustomFilters
// Custom Filters
@{kItemKeyTitle: @"CustomFilters",
kItemKeyDescription: @"Custom CIFilter examples using CIKernel.",
kItemKeyClassPrefix: @"CustomFilters",
},

// Metal Renderer
// Metal Basic
@{kItemKeyTitle: @"Metal Basic",
kItemKeyDescription: @"Render a set of cubes using Metal. Based on Apple's \"MetalBasic3D\" sample.",
kItemKeyClassPrefix: @"MetalBasic",
Expand Down

0 comments on commit 97249b7

Please sign in to comment.