CocoaPods trunk is moving to be read-only. Read more on the blog, there are 14 months to go.

PMTabBarController 0.9.3

PMTabBarController 0.9.3

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Peter Meyers.



 
Depends on:
PMUtils>= 0
PMCircularCollectionView>= 0
 

  • By
  • Peter Meyers

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).

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.