Code examples for the new features of iOS 7.
Switch branches/tags
Nothing to show
Clone or download
Latest commit dabd7e6 Oct 3, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Resources Added iBeacon sample. Dec 5, 2013
ResourcesForREADME Update README Oct 19, 2014
iOS7Sampler.xcodeproj Updated build settings according to the recommendations by Xcode 8.2 Dec 22, 2016
iOS7Sampler Added NSAppTransportSecurity Apr 7, 2017
iOS7SamplerTests Minor fixes for Xcode 7 Sep 14, 2015
vendor Update README Mar 21, 2016
.gitignore Initial commit Sep 23, 2013
LICENSE Initial commit Sep 23, 2013
README.md Update README.md Oct 3, 2017

README.md

iOS7-Sampler

License Twitter

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

240fps Video Recording

SLO-MO video recorder using AVFoundation. It works with 240fps on iPhone 6, iPhone 6s, etc.

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

Author

Shuichi Tsutsumi

iOS freelancer in Japan. Welcome works from abroad!