/iOS7-Sampler

Code examples for the new features of iOS 7.

Primary LanguageObjective-CMIT LicenseMIT

iOS7-Sampler

Code examples for the new functions of iOS 7.

##Contents

###Dynamic Behaviors

Dynamic Behaviours using UIDynamicAnimator, UIGravityBehavior, UICollisionBehavior, UIDynamicItemBehavior.

###Speech Synthesis

Synthesized speech from text using AVSpeechSynthesizer and AVSpeechUtterance.

###Custom Transition

UIViewControllerAnimatedTransitioning, UIViewControllerTransitioningDelegate.

###3D Map

3D Map using MKMapCamera.

###iBeacon

Region monitoring demo using iBeacon.

Related Repository: PulsingHalo

###120fps Video Recording

SLO-MO video recorder using AVFoundation. It works with 120fps on iPhone5s.

Example:

See the 120fps Slo-Mo video in Vimeo 120fps.

Related Repository: SlowMotionVideoRecorder

###Smile Detection

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

smile_.png

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

mapdirection_.png

###Motion Effects (Parallax)

Parallax effect using UIMotionEffect.

###Multipeer Connectivity

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

###AirDrop/Flickr/Vimeo/ReadingList

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

###QR Code Reader

Detect QR codes with AVMetadataObjectTypeQRCode which is added into AVMetadataObjectTypes.

###QR Code Generator

Generating QR Code with CIQRCodeGenerator.

###Motion Activity Tracking

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

###Static Map Snapshots

Creating a snapshot with MKMapSnapshotOptions, MKMapSnapshotter.

###Safari Reading List

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

###New Fonts

Displaying new fonts with their FontNames which are needed for "fontWithName:size:" method of UIFont.

###Spring Animation

Performs animations using a timing curve described by the motion of a spring.

###Web Pagination

Pagination sample for web pages. It uses new property "paginationMode" of UIWebView.

##Special Thanks

Icons and LaunchImages are designed by Okazu

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