CocoaPods trunk is moving to be read-only. Read more on the blog, there are 12 months to go.
| TestsTested | ✗ |
| LangLanguage | Obj-CObjective C |
| License | MIT |
| ReleasedLast Release | Dec 2014 |
Maintained by mogmet.
MOGOpenBookSegue is custom segue like iBooks open animation.
iOS7.0 or later
pod install from the Example directory first.Import header to your ViewController.
#import <MOGOpenBookSegue/MOGOpenBookSegue.h>
or
#import "MOGOpenBookSegue.h"
Add code on your ViewController like this.
-(void)prepareForSegue:(MOGOpenBookSegue *)segue sender:(id)sender {
[segue setupBookView:self.coverImageButton.imageView.image frame:self.coverImageButton.frame];
[super prepareForSegue:segue sender:sender];
} [segue setDurationTime:3.0f]; [segue setCompletionBlock:^(BOOL transitionCompleted) {
NSLog(@"open!");
} closeCompletion:^(BOOL transitionCompleted) {
NSLog(@"close!");
}];mogmet
MOGOpenBookSegue is available under the MIT license. See the LICENSE file for more info.