CocoaPods trunk is moving to be read-only. Read more on the blog, there are 14 months to go.
| TestsTested | ✗ |
| LangLanguage | Obj-CObjective C |
| License | MIT |
| ReleasedLast Release | Dec 2014 |
Maintained by Peter Meyers.
| Depends on: | |
| PMUtils | >= 0 |
| PMCircularCollectionView | >= 0 |
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.
To install, simply add the following line to your Podfile.
platform :ios, '7.0'
pod "PMTabBarController"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;
}PMTabBarController is available under the MIT license. See the LICENSE file for more info.