Commit b048260177b43affae6a702f1d949020cb5bb52b

Authored by 张旭
1 parent 2a96c5b1

0.0.2

CNLiveBaseClass.podspec
... ... @@ -8,7 +8,7 @@
8 8  
9 9 Pod::Spec.new do |s|
10 10 s.name = 'CNLiveBaseClass'
11   - s.version = '0.0.1'
  11 + s.version = '0.0.2'
12 12 s.summary = 'CNLiveBaseClass'
13 13  
14 14 # This description is used to generate tags and improve search results.
... ...
CNLiveBaseClass/Classes/Controller/CNLiveNavigationController.h 0 → 100644
  1 +//
  2 +// CNLiveNavigationController.h
  3 +// CNLiveBaseClass
  4 +//
  5 +// Created by 张旭 on 2020/4/13.
  6 +//
  7 +
  8 +#import <UIKit/UIKit.h>
  9 +
  10 +NS_ASSUME_NONNULL_BEGIN
  11 +
  12 +@interface CNLiveNavigationController : UINavigationController
  13 +
  14 +@end
  15 +
  16 +NS_ASSUME_NONNULL_END
... ...
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
  1 +//
  2 +// CNLiveTabBarController.h
  3 +// CNLiveBaseClass
  4 +//
  5 +// Created by 张旭 on 2020/4/13.
  6 +//
  7 +
  8 +#import <UIKit/UIKit.h>
  9 +
  10 +NS_ASSUME_NONNULL_BEGIN
  11 +
  12 +@interface CNLiveTabBarController : UITabBarController
  13 +
  14 +@end
  15 +
  16 +NS_ASSUME_NONNULL_END
... ...
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 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 9 [![CI Status](https://img.shields.io/travis/153993236@qq.com/CNLiveBaseClass.svg?style=flat)](https://travis-ci.org/153993236@qq.com/CNLiveBaseClass)
4 10 [![Version](https://img.shields.io/cocoapods/v/CNLiveBaseClass.svg?style=flat)](https://cocoapods.org/pods/CNLiveBaseClass)
5 11 [![License](https://img.shields.io/cocoapods/l/CNLiveBaseClass.svg?style=flat)](https://cocoapods.org/pods/CNLiveBaseClass)
... ...