by nishimao

This is the OSS that provide interacition transition like FlipBoard.

203 Stars 22 Forks Last release: about 6 years ago (0.0.2) MIT License 35 Commits 2 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:


Usage This is the OSS that provide interacition transition like FlipBoard.

Demo Project Please open the file below to run the demo project. ``` MAOFlipViewController/Demo/Demo.xcodeproj


Usage Podfile is below.

platform :ios, '7.0'
pod 'MAOFlipViewController', :git => ""

Please import "MAOFlipViewController.h" only. ```

import "MAOFlipViewController.h"

Please addSubview "MAOFlipViewController's instance"
Example below.
  • (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. self.flipViewController = [[MAOFlipViewController alloc]init]; self.flipViewController.delegate = self; [self addChildViewController:self.flipViewController]; self.flipViewController.view.frame = self.view.frame; [self.view addSubview:self.flipViewController.view]; [self.flipViewController didMoveToParentViewController:self]; }
    Please implements delegate method.
    Example below.

pragma mark - MAOFlipViewControllerDelegate

  • (UIViewController*)flipViewController:(MAOFlipViewController *)flipViewController contentIndex:(NSUInteger)contentIndex { DetailViewController *c = [self.storyboard instantiateViewControllerWithIdentifier:@"DetailViewController"]; c.requestNumberText = [NSString stringWithFormat:@"%d", contentIndex]; return c; }

  • (NSUInteger)numberOfFlipViewControllerContents { return 5; } ```

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.