iOS 7新功能例子

参考https://github.com/shu223/iOS7-Samplernode

Code examples for the new functions of iOS 7.git

 

 

Contentsgithub

 

Dynamic Behaviors(动力行为)网络

Dynamic Behaviours using UIDynamicAnimator, UIGravityBehavior, UICollisionBehavior, UIDynamicItemBehavior.app

 

 

Speech Synthesis(语音合成)框架

Synthesized speech from text using AVSpeechSynthesizer and AVSpeechUtterance.ide

 

 

Custom Transition(定制过渡界面)动画

UIViewControllerAnimatedTransitioning, UIViewControllerTransitioningDelegate.spa

 

 

 

3D Map设计

3D Map using MKMapCamera.

 

 

Smile Detection(微笑检测)

Smile Detection using CIDetectorSmile and new properties of CIFeature such as "bounds".

 

 

Image Filters(图片过滤器)

New filters of CIFilter.

  • CILinearToSRGBToneCurve
  • CIPhotoEffectChrome
  • CIPhotoEffectFade
  • CIPhotoEffectInstant
  • CIPhotoEffectMono
  • CIPhotoEffectNoir
  • CIPhotoEffectProcess
  • CIPhotoEffectTonal
  • CIPhotoEffectTransfer
  • CISRGBToneCurveToLinear
  • CIVignetteEffect

 

 

Sprite Kit

A sample of Sprite Kit using SKView, SKScene, SKSpriteNode, SKAction.

 

 

Map Directions(地图指引)

Requesting and draw directions using MKDirections, MKDirectionsResponse and MKPolylineRenderer.

 

 

 

Motion Effects (Parallax)(运动效果<视差效果>)

Parallax effect using UIMotionEffect.

 

 

Multipeer Connectivity

Creating a local network sharing connection over Wi-Fi or Bluetooth LE.

建立一个本地的网络链接,它能够经过Wifi或者蓝牙LE来共享网络。

 

 

AirDrop/Flickr/Vimeo/ReadingList

New Activity Types: AirDrop, Post to Flickr / Vimeo, Add to ReadingList

新的活动类型:AirDrop,发送至Flickr/Vimeo,添加到ReadingList。

 

QR Code Generator(二维码生成器)

Generating QR Code with CIQRCodeGenerator.

使用CIQRCodeGenerator来建立二维码。

 

 

Motion Activity Tracking(运动跟踪)

Counting steps and monitoring the activity using CMStepCounter and CMMotionActivityManager. It works only on iPhone5s (M7 chip).

使用CMStepCounter以及CMMotionActivityManager来计算步数以及监控运动。只在iPhone 5S上有效(M7芯片)。

 

 

Static Map Snapshots(静态地图截图)

Creating a snapshot with MKMapSnapshotOptions, MKMapSnapshotter.

 

 

Safari Reading List (Safari阅读列表)

Adding an item to the Safari Reading List with the new Safari Services framework.

 

See Also

 

Open source collection for Flat Design UI

A collection of OSS which helps you implement Flat Design UI on your current version of iOS (iOS5,6) just like that on iOS 7.

 

iOS 7风格的控制中心式的导航栏——毛玻璃效果,扁平化设计以及定制动画所有融于其中

一个iOS 7设计风格的控制中心式的导航栏——毛玻璃效果,扁平化设计以及定制动画所有融于其中。

项目地址>>

 

NodelikeDemo

Demo iOS 7 App经过JavaScriptCore.框架(http://nodeapp.org/)整合了Node.JS相似的功能。JavaScriptCore 是iOS 7中新加入的,在OS X 10.8版本中,JavaScriptCore的使用率很低,但在更新后的10.9版本中,已经被很多项目普遍使用,不过仅限于Objective-C API。这个项目并不完成,将来几周做者会继续完善。

项目地址:https://github.com/node-app/NodelikeDemo

 

TLAlertView

TLAlertView是一个简单的可替代1-button UIAlertView的开源项目,使用了iOS 7的UIKit Dynamics和模糊效果。更多教程信息>>

项目地址:https://github.com/TeehanLax/TLAlertView

 

相关文章
相关标签/搜索