Giter VIP home page Giter VIP logo

ios8-sampler's Introduction

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

ios8-sampler's People

Contributors

hiralin avatar shu223 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ios8-sampler's Issues

Unable to compile: can't exec 'metal'

Hi, I've tried to compile the program, but I get the following error :
error: can't exec 'metal' (No such file or directory)
Command metal failed with exit code 71

iOS9

Hey, were you going to work on iOS9-Sampler? Thanks for your contribution

error: can't exec 'metal' (No such file or directory)

I deleted the directory in DerivedData but it doesn't work for me.

I got this error message:

CompileMetalFile libs/AAPL/MetalBasic3D/shaders.metal
cd "/Users/gurkan/Desktop/iOS8-Sampler-master 2"
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
metal -arch air64 -emit-llvm -c -gline-tables-only -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.3.sdk -ffast-math -serialize-diagnostics /Users/gurkan/Library/Developer/Xcode/DerivedData/iOS8Sampler-adcbobzemlxmugekmrfsoluayscw/Build/Intermediates/iOS8Sampler.build/Debug-iphonesimulator/iOS8Sampler.build/Metal/shaders.dia -o /Users/gurkan/Library/Developer/Xcode/DerivedData/iOS8Sampler-adcbobzemlxmugekmrfsoluayscw/Build/Intermediates/iOS8Sampler.build/Debug-iphonesimulator/iOS8Sampler.build/Metal/shaders.air /Users/gurkan/Desktop/iOS8-Sampler-master\ 2/libs/AAPL/MetalBasic3D/shaders.metal

error: can't exec 'metal' (No such file or directory)
Command metal failed with exit code 71

can't exec 'metal' (No such file or directory)

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}

According to this method, or an error

Unable to compile both on simulator and device

Got:

/Users/admin/Desktop/iOS8-Sampler/libs/TTM/TTMHelpers/TTMHealthKitHelper.m:46:14: Use of undeclared identifier 'HKQuantityTypeIdentifierForcedVitalCapacity'

and

/Users/admin/Desktop/iOS8-Sampler/iOS8Sampler/Samples/AltimeterViewController.m:56:87: Property 'pressure' not found on object of type 'CMAltitudeData *'

On xcode 6 beta 4, iphone 5 ios 8

what can it be? thanks a lot

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.