Latest 0.0.1
Homepage https://github.com/peteog/POGSegmentedViewController
License MIT
Platforms ios 7.0, requires ARC
Authors

Use a UISegmentedControl to switch between view controllers

Usage

See the example project

UIViewController *firstViewController = [[UIViewController alloc] init];
firstViewController.title = NSLocalizedString(@"First", nil);
firstViewController.view.backgroundColor = [UIColor redColor];

UIViewController *secondViewController = [[UIViewController alloc] init];
secondViewController.title = NSLocalizedString(@"Second", nil);
secondViewController.view.backgroundColor = [UIColor blueColor];

POGSegmentedViewController *segmentedViewController = [[POGSegmentedViewController alloc] init];
segmentedViewController.viewControllers = @[firstViewController, secondViewController];

UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:segmentedViewController];
self.window.rootViewController = navigationController;

POGSegmentedViewController

Latest podspec

{
    "name": "POGSegmentedViewController",
    "version": "0.0.1",
    "summary": "Use a UISegmentedControl to switch between view controllers",
    "homepage": "https://github.com/peteog/POGSegmentedViewController",
    "license": {
        "type": "MIT",
        "file": "LICENSE.md"
    },
    "authors": {
        "Pete O'Grady": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/peteog/POGSegmentedViewController.git",
        "tag": "0.0.1"
    },
    "source_files": "POGSegmentedViewController/*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This