/AnarLTabbarController

This is a quick way to create tabbar.

Primary LanguageObjective-C

AnarLTabbarController

English Introduction

This is a quick way to creat custom tabbar.

Usage:

======= 1.Import AnarLTabbarController.h into YourProject

2.Create these arguments TabbarControllersArray, TabbarTitlesArray, TabbarDefaultImageNamesArray, TabbarHighlightedImageNamesArray, TabbarTintColor, TabbarBackgroundColor. Also, these arguments can be nil excpet TabbarControllersArray

3.Create AnarLTabbarController in YourViewController.m or YourAppDelegate.m use this method:

- (instancetype)initWithControllers:(NSArray<UIViewController *> *)controllers titles:(NSArray<NSString *> *)titles defaultImages:(NSArray<NSString *> *)images highLightedImages:(NSArray<NSString *> *)highlightedImages barTintColor:(UIColor *)tintColor barBackgroundColor:(UIColor *)backgroundColor;

4.Then you can use this AnarLTabbarController. Enjoy it.

If any questions you have, please e-mail me:anar0615@sina.com. Or on my Weibo.

Example

中文说明

通过本类可以快速创建选项栏

使用方法:

1.在你的工程中导入AnarLTabbarController.h文件

2.创建以下参数:TabbarControllersArray, TabbarTitlesArray, TabbarDefaultImageNamesArray, TabbarHighlightedImageNamesArray, TabbarTintColor, TabbarBackgroundColor. 当然,除了 TabbarControllersArray参数以外,其他参数可以传nil。

3.在ViewController.mAppDelegate.m 文件中使用以下方法创建AnarLTabbarController对象:

- (instancetype)initWithControllers:(NSArray<UIViewController *> *)controllers titles:(NSArray<NSString *> *)titles defaultImages:(NSArray<NSString *> *)images highLightedImages:(NSArray<NSString *> *)highlightedImages barTintColor:(UIColor *)tintColor barBackgroundColor:(UIColor *)backgroundColor;

4.接着,你就可以使用了。

如果有任何疑问或bug,请联系我邮箱:anar0615@sina.com. 或者在微博上私信我.

示例

感谢你的关注!