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

iOS8-Sampler的更多相关文章

  1. iOS8沙盒路径的变化

    iOS8中的的沙盒路径发生了变化 之前是这样的路径,通过NSHomedictionary()获取的家路径 /Users/wupeng/Library/Application Support/iPhon ...

  2. iOS8中定位服务的变化(CLLocationManager协议方法不响应,无法回掉GPS方法,不出现获取权限提示)

    最近在写一个LBS的项目的时候,因为考虑到适配iOS8,就将项目迁移到Xcode6.0.1上,出现了不能正常获取定位服务权限的问题. self.manger = [[CLLocationManager ...

  3. 系统定位在iOS8中的改变

    CLLocationManager这个系统定位的类在iOS8之前要实现定位,只需要遵守CLLocationManagerDelegate这个代理即可: - (void)startLocate {   ...

  4. ios8 设置单元格分割线无效

    原来: [self.tableView setSeparatorInset:UIEdgeInsetsMake(0, 0, 0, 0)];//分隔线紧贴左右边框 || [self.tableView s ...

  5. JMeter学习-036-JMeter调试工具之三---Debug Sampler

    前面两篇文章分别讲述了 HTTP Mirror Server 和 Debug PostProcessor 的脚本调试实例.此文主要讲述第三种调试工具:DebugSampler,其主要是查看JMeter ...

  6. Jmeter学习(三十三)调试工具Debug Sampler

    一.Debug Sampler介绍: 使用Jmeter开发脚本时,难免需要调试,这时可以使用Jmeter的Debug Sampler,它有三个选项:JMeter properties,JMeter v ...

  7. iOS8 关于预编译文件.pch的改变

    ios8 添加.pch文件 1, 新建文件 (command+N)选择other组,选择pch,输入文件名保存. eg: 创建的工程为Demo; 创建文件名为DemoPrefixHeader.pch ...

  8. IOS8解决获取位置坐标信息出错(Error Domain=kCLErrorDomain Code=0)(转)

    标题:IOS8解决获取位置坐标信息出错(Error Domain=kCLErrorDomain Code=0) 前几天解决了在ios8上无法使用地址位置服务的问题,最近在模拟器上调试发现获取位置坐标信 ...

  9. Ios8代码关闭输入预测问题

    自IOS8出来了输入预测问题后,有些问题也就来了比如textfield中输入邮箱的话,就会有很多空格无法去掉,当时我一直在找有没有提供什么方法可以关闭:后面有这样的一个属性可以解决输入邮箱没有空格问题 ...

  10. iOS8: Ignore manifest download, already have bundleID

    在企业分发的app下载过程中,iOS8发现挂在官网上的企业版的app点击了提示是否安装应用程序,但始终安装不上程序,的device console发现安装的时候出现 LoadExternalDownl ...

随机推荐

  1. UVA571Jugs题解--简单数论(其实是瞎搞)

    题目链接 https://cn.vjudge.net/problem/UVA-571 分析 刚做了道倒水问题的题想看看能不能水二倍经验,结果发现了这道题 题意翻译:https://www.cnblog ...

  2. extjs CheckboxGroup

    // 复选框 var fxkGroup = new Ext.form.CheckboxGroup({ id : 'fxkGroup', xtype : 'checkboxgroup', name : ...

  3. 爬虫时安装的newspaper 新闻包

    Newspaper3k: Article scraping & curation 首先在命令行安装 newspaper pip install Newspaper3k 然后导入包进行写代码 f ...

  4. Hadoop 3相对于hadoop 2的新特性

    相对于之前主要生产发布版本Hadoop 2,Apache Hadoop 3整合许多重要的增强功能. Hadoop 3是一个可用版本,提供了稳定性和高质量的API,可以用于实际的产品开发.下面简要介绍一 ...

  5. git、github常用操作

    1.将github项目拷贝到本地 $ git clone https://github.com/jim2500/miaosha_project.git 2.修改本地项目上传到github T470s@ ...

  6. maven 父子工程打包 并且上传linux服务器

    先对父工程进行 mvn clean 再对子工程执行 install wagon:upload-single wagon:sshexec 使用wagon前提: 本地maven 的settings.xml ...

  7. Odoo的菜单项

    用户界面的入口是菜单项,菜单项形成一个层级结构,最顶级项为应用,其下一级为每个应用的主菜单.还可以添加更深的子菜单.可操作菜单与窗口操作关联,它告诉客户端在点击了菜单项后应执行什么操作. 菜单项存储在 ...

  8. Delphi 动态链接库编程

    樊伟胜

  9. Centos网卡名称命名

    1. vim /etc/sysconfig/grub     编辑/etc/sysconfig/grub文件 添加  net.ifnames=0 biosname=0 GRUB_TIMEOUT= GR ...

  10. kotlin的loop和Range、list和map

    继续学习Kolin的基础语法,比较简单,直接练习代码.loop和range: 这里用一个场景来说明:计算从1到100之间数的总和,那在kotlin中是如何搞的呢? 上面这么简单的一句代码确实是能表达么 ...