Commit b048260177b43affae6a702f1d949020cb5bb52b
1 parent
2a96c5b1
0.0.2
Showing
6 changed files
with
99 additions
and
1 deletions
CNLiveBaseClass.podspec
| @@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
| 8 | 8 | ||
| 9 | Pod::Spec.new do |s| | 9 | Pod::Spec.new do |s| |
| 10 | s.name = 'CNLiveBaseClass' | 10 | s.name = 'CNLiveBaseClass' |
| 11 | - s.version = '0.0.1' | 11 | + s.version = '0.0.2' |
| 12 | s.summary = 'CNLiveBaseClass' | 12 | s.summary = 'CNLiveBaseClass' |
| 13 | 13 | ||
| 14 | # This description is used to generate tags and improve search results. | 14 | # This description is used to generate tags and improve search results. |
CNLiveBaseClass/Classes/Controller/CNLiveNavigationController.h
0 → 100644
CNLiveBaseClass/Classes/Controller/CNLiveNavigationController.m
0 → 100644
| 1 | +// | ||
| 2 | +// CNLiveNavigationController.m | ||
| 3 | +// CNLiveBaseClass | ||
| 4 | +// | ||
| 5 | +// Created by 张旭 on 2020/4/13. | ||
| 6 | +// | ||
| 7 | + | ||
| 8 | +#import "CNLiveNavigationController.h" | ||
| 9 | + | ||
| 10 | +@interface CNLiveNavigationController () | ||
| 11 | + | ||
| 12 | +@end | ||
| 13 | + | ||
| 14 | +@implementation CNLiveNavigationController | ||
| 15 | + | ||
| 16 | +- (void)viewDidLoad { | ||
| 17 | + [super viewDidLoad]; | ||
| 18 | + // Do any additional setup after loading the view. | ||
| 19 | + | ||
| 20 | + self.navigationBar.barTintColor = [UIColor blackColor]; | ||
| 21 | + self.navigationBar.tintColor = [UIColor blackColor]; | ||
| 22 | + [self.navigationBar setTitleTextAttributes:@{NSForegroundColorAttributeName : [UIColor blackColor]}]; | ||
| 23 | + self.navigationBar.translucent = NO; | ||
| 24 | + | ||
| 25 | +} | ||
| 26 | + | ||
| 27 | +/* | ||
| 28 | +#pragma mark - Navigation | ||
| 29 | + | ||
| 30 | +// In a storyboard-based application, you will often want to do a little preparation before navigation | ||
| 31 | +- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { | ||
| 32 | + // Get the new view controller using [segue destinationViewController]. | ||
| 33 | + // Pass the selected object to the new view controller. | ||
| 34 | +} | ||
| 35 | +*/ | ||
| 36 | + | ||
| 37 | +@end |
CNLiveBaseClass/Classes/Controller/CNLiveTabBarController.h
0 → 100644
CNLiveBaseClass/Classes/Controller/CNLiveTabBarController.m
0 → 100644
| 1 | +// | ||
| 2 | +// CNLiveTabBarController.m | ||
| 3 | +// CNLiveBaseClass | ||
| 4 | +// | ||
| 5 | +// Created by 张旭 on 2020/4/13. | ||
| 6 | +// | ||
| 7 | + | ||
| 8 | +#import "CNLiveTabBarController.h" | ||
| 9 | + | ||
| 10 | +@interface CNLiveTabBarController () | ||
| 11 | + | ||
| 12 | +@end | ||
| 13 | + | ||
| 14 | +@implementation CNLiveTabBarController | ||
| 15 | + | ||
| 16 | +- (void)viewDidLoad { | ||
| 17 | + [super viewDidLoad]; | ||
| 18 | + // Do any additional setup after loading the view. | ||
| 19 | + | ||
| 20 | + //取消tabBar的透明效果 | ||
| 21 | + [UITabBar appearance].translucent = NO; | ||
| 22 | +} | ||
| 23 | +@end |
README.md
| 1 | # CNLiveBaseClass | 1 | # CNLiveBaseClass |
| 2 | 2 | ||
| 3 | +pod lib lint --allow-warnings --sources=http://bj.gitlab.cnlive.com/ios-team/CNLiveRepos.git,https://github.com/CocoaPods/Specs.git | ||
| 4 | + | ||
| 5 | +pod spec lint --allow-warnings --sources=http://bj.gitlab.cnlive.com/ios-team/CNLiveRepos.git,https://github.com/CocoaPods/Specs.git | ||
| 6 | + | ||
| 7 | +pod repo push CNLiveRepos CNLiveBaseClass.podspec --allow-warnings --sources=http://bj.gitlab.cnlive.com/ios-team/CNLiveRepos.git,https://github.com/CocoaPods/Specs.git | ||
| 8 | + | ||
| 3 | [](https://travis-ci.org/153993236@qq.com/CNLiveBaseClass) | 9 | [](https://travis-ci.org/153993236@qq.com/CNLiveBaseClass) |
| 4 | [](https://cocoapods.org/pods/CNLiveBaseClass) | 10 | [](https://cocoapods.org/pods/CNLiveBaseClass) |
| 5 | [](https://cocoapods.org/pods/CNLiveBaseClass) | 11 | [](https://cocoapods.org/pods/CNLiveBaseClass) |