MGSwipeTabBarController 2.0

MGSwipeTabBarController 2.0

Tests测试
Lang语言 Obj-CObjective C
许可证 MIT
Released上次发布2014 年 12 月

Mark Glagola 维护。




示例截图

ScreenShot 1

设置

推荐使用 CocoaPods。

旧式风格

  • MGSwipeTabBarController/MGSwipeTabBarController 文件夹拖放到您的 iOS 项目中
  • #import "MGSwipeTabBarController.h"

示例用法

创建 MGSwipeTabBarController

选项 1 - 初始化

NSArray *viewControllers = . . . //your view controllers
MGSwipeTabBarController *swipeController = [[MGSwipeTabBarController alloc] initWithViewControllers:viewControllers]; 

选项 2 - 设置器

NSArray *viewControllers = . . . //your view controllers
MGSwipeTabBarController *swipeController = . . . // initialized someway (i.e. storyboard, nib, etc).
swipeController.viewControllers = viewControllers;

限制

目前存在透明 UI 组件的一个错误。该示例演示了此错误。