Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 652 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 652 Bytes

ApplicationCommonFramework

应用的基础框架

pod 'LFApplicationCommonFramework'

简易封装可自定义的App框架

调用方法:

-(UITabBarController *)addViewControllers : (NSArray <UIViewController *> *)arrray andImageNames:( NSArray  * _Nullable )images selectedImageNames:( NSArray  * _Nullable )selectedimages forTitles:( NSArray * _Nullable  )titles;

示例:

self.window = [[UIWindow alloc]initWithFrame:[UIScreen mainScreen].bounds];
self.window.rootViewController = [[LFTabBarViewController new] addViewControllers:@[ViewController.new,ViewController.new]];
[self.window makeKeyAndVisible];