CocoaPods trunk is moving to be read-only. Read more on the blog, there are 14 months to go.
| TestsTested | ✗ |
| LangLanguage | Obj-CObjective C |
| License | MIT |
| ReleasedLast Release | Dec 2014 |
Maintained by Unclaimed.
A custom photo viewer that implements device motion scrolling, inspired by Facebook Paper.
CocoaPods
platform :ios
pod 'CRMotionView'
...pod install to install the dependencies.Source files
Just clone this repository or download it in zip-file. Then you will find source files under CRMotionView directory. Copy them to your project.
#import "CRMotionView.h"CRMotionView *motionView = [[CRMotionView alloc] initWithFrame:self.view.bounds];[motionView setImage:[UIImage imageNamed:@"Image"]];UIView *myView = [UIView alloc] init...
[motionView setContentView:myView];[self.view addSubview:motionView];[motionView setMotionEnabled:NO];CRMotionView *motionView = [[CRMotionView alloc] initWithFrame:self.view.bounds];
[motionView setImage:[UIImage imageNamed:@"Image"]];
[self.view addSubview:motionView];Anyone who would like to contribute to the project is more than welcome.
CRMotionView is released under the MIT license. See LICENSE.
Christian Roman