Latest0.1.0
Homepagehttps://github.com/remirobert/RRCustomPageController
LicenseMIT
Platformsios 7.0, requires ARC
Authors

CI Status
Version
License
Platform

Alt text

Usage

Each UIViewControllers must inherit of RRPageController, and the init it with title or UIImage.

#import "RRViewController.h"
#import "RRCustomPageController.h"
#import "RRPageController.h"
#import "RRViewController1.h"

@interface RRViewController ()

@end

@implementation RRViewController

- (void) viewDidAppear:(BOOL)animated {
    RRViewController1 *c1 = [[RRViewController1 alloc] initWithTitle:@"title1"];
    RRViewController1 *c2 = [[RRViewController1 alloc] initWithTitle:@"title2"];
    RRViewController1 *c3 = [[RRViewController1 alloc] initWithTitle:@"title3"];
    RRViewController1 *c4 = [[RRViewController1 alloc] initWithTitle:@"title4"];

    RRCustomPageController *controller = [[RRCustomPageController alloc] initWithControllers:@[c1, c2, c3, c4]];

    controller.menuBar.backgroundColor = [UIColor colorWithRed:0.842 green:0.000 blue:0.000 alpha:1.000];
    [self presentViewController:controller animated:NO completion:nil];
}

Installation

RRCustomPageController is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "RRCustomPageController"

Author

remirobert, [email protected]

License

RRCustomPageController is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "RRCustomPageController",
    "version": "0.1.0",
    "summary": "RRCustomPageController.",
    "description": "                        Custom PageViewControllern",
    "homepage": "https://github.com/remirobert/RRCustomPageController",
    "license": "MIT",
    "authors": {
        "remirobert": "[email protected]"
    },
    "source": {
        "git": "https://github.com/remirobert/RRCustomPageController.git",
        "commit": "a560b930fbd0439ec600fdd863db84eec21853cb",
        "tag": "v0.1.0"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "RRCustomPageController/"
}

Pin It on Pinterest

Share This