Latest 0.9.3
Homepage https://github.com/pm-dev/PMTabBarController
License MIT
Platforms ios 7.0, requires ARC
Dependencies PMUtils, PMCircularCollectionView
Frameworks Foundation, CoreGraphics, UIKit
Authors

PMTabBarController is a subclass of UITabBarController that replaces the conventional tab bar with a circularly scrolling scroll view of any number of tab bar icon views.

Demo

Requirements & Notes

  • PMTabBarController was built for iOS and requires a minimum iOS target of iOS 7.
  • Thorough commenting of header files is currently in progress. (6/12/14).

How To Get Started

  • Check out the documentation (coming soon).

Installation with CocoaPods

PMTabBarController is available through CocoaPods. CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like PMTabBarController in your projects. See the "Getting Started" guide for more information.

Podfile

To install, simply add the following line to your Podfile.

platform :ios, '7.0'
pod "PMTabBarController"

Usage

To see PMTabBarController in action, run the example project at /Example/PMTabBarController-iOSExample.xcworkspace.
After installing the PMTabBarController pod, integrating into your project is as easy as:


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    /* Instantiate viewController1, viewController2, etc... */

    PMTabBarController *tbc = [PMTabBarController new];

    tbc.viewControllers = @[viewController1, viewController2, viewController3, /*....*/];

    tbc.tabViews = @[/*UIView tab for viewController1*/,
                     /*UIView tab for viewController2*/,
                     /*UIView tab for viewController3*/,
                     /*...*/];

    tbc.tabBarBackgroundColor = [UIColor colorWithWhite:0.0f alpha:0.3f];
    tbc.tabBarShadowRadius = 20.0f;
    tbc.minimumTabBarSpacing = 30.0f;

    [self.window setRootViewController:tbc];

    return YES;
}

Communication

  • If you need help, use Stack Overflow. (Tag ‘PMTabBarController’)
  • If you’d like to ask a general question, use Stack Overflow.
  • If you found a bug, open an issue.
  • If you have a feature request, open an issue.
  • If you want to contribute, submit a pull request.

Author

License

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

Latest podspec

{
    "name": "PMTabBarController",
    "version": "0.9.3",
    "summary": "PMTabBarController is a subclass of UITabBarController that uses a circularly scrolling scroll view for its tab bar.",
    "homepage": "https://github.com/pm-dev/PMTabBarController",
    "license": "MIT",
    "authors": {
        "Peter Meyers": "[email protected]"
    },
    "source": {
        "git": "https://github.com/pm-dev/PMTabBarController.git",
        "tag": "0.9.3"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "Classes/**/*.{h,m}",
    "ios": {
        "exclude_files": "Classes/osx"
    },
    "osx": {
        "exclude_files": "Classes/ios"
    },
    "public_header_files": "Classes/**/*.h",
    "frameworks": [
        "Foundation",
        "CoreGraphics",
        "UIKit"
    ],
    "dependencies": {
        "PMUtils": [],
        "PMCircularCollectionView": []
    }
}

Pin It on Pinterest

Share This