Skip to content
This repository has been archived by the owner on Apr 26, 2019. It is now read-only.

A view in iOS that uses gyro updates to show all of an image.

License

Notifications You must be signed in to change notification settings

howaboutwe/HAWTiltedImageView

Repository files navigation

HAWTiltedImageView

A view that uses motion to show all of an image.

Installation

Install with CocoaPods:

pod 'HAWTiltedImageView'

Usage

Creating an HAWTiltedImageView

  1. Import:

    #import "HAWTiltedImageView.h"

  2. Create a view without a motion mananger

    HAWTiltedImageView *view = [[HAWTiltedImageView alloc] init];

    or with a motion mananger :

    HAWTiltedImageView *view = [[HAWTiltedImageView alloc] initWithMotionManager:self.motionManager];

Examples

There is an example included with the project. To install,

$ pod install
$ open TiledImageViewExample.xcworkspace/

##Contribute

Send me pull requests !!

##Authors

James Paolantonio - @jpaolantonio

####Extra

This was built while standing up.

About

A view in iOS that uses gyro updates to show all of an image.

Resources

License

Stars

Watchers

Forks

Packages

No packages published