提交 05034046 编写于 作者: Y yixiang

更新1.1.6文档

上级 e1ca2e71
# Release Notes
## 1.1.6
1、去掉对于AFNetworking的依赖,改成NSURLSession,减少对于第三方库的依赖
2、颜色拾取器优化,方便更加准确的选取字体的颜色
3、大文本显示的时候,UIlabel在模拟器上会显示空白,使用TextView代替
4、pluginDidLoad回调,将itemData返回
5、解决和JGProgressHUD的layoutSubviews 循环调用的问题
6、适配iOS9状态栏不显示的问题
7、DoraemonLoadAnalyze改成可选的pod依赖
## 1.1.5
1、更新DoraemonLoadAnalyze.framework支持bitcode
......
......@@ -3,9 +3,10 @@
### 1、cocoapods依赖
```
pod 'DoraemonKit/Core', '~> 1.1.5', :configurations => ['Debug']
pod 'DoraemonKit/WithLogger', '~> 1.1.5', :configurations => ['Debug']
pod 'DoraemonKit/WithGPS', '~> 1.1.5', :configurations => ['Debug']
pod 'DoraemonKit/Core', '~> 1.1.6', :configurations => ['Debug']
pod 'DoraemonKit/WithLogger', '~> 1.1.6', :configurations => ['Debug']
pod 'DoraemonKit/WithGPS', '~> 1.1.6', :configurations => ['Debug']
pod 'DoraemonKit/WithLoad', '~> 1.1.6', :configurations => ['Debug']
```
Core subspec作为核心,必须引入。
......
## How To Use
### 1: Use Cocoapods to Get latest version of DoraemonKit
DoraemonKit contains two subspecs.
One is the "WithLogger" subspec that contains the log display function based on ‘CocoaLumberjack’.
```
pod 'DoraemonKit/WithLogger','1.1.3', :configurations => ['Debug']
```
The other one is the "Core" subspec that does not contain the log display function.
```
pod 'DoraemonKit/Core','1.1.3', :configurations => ['Debug']
pod 'DoraemonKit/Core', '~> 1.1.6', :configurations => ['Debug']
pod 'DoraemonKit/WithLogger', '~> 1.1.6', :configurations => ['Debug']
pod 'DoraemonKit/WithGPS', '~> 1.1.6', :configurations => ['Debug']
pod 'DoraemonKit/WithLoad', '~> 1.1.6', :configurations => ['Debug']
```
The "Core" subspec is introduced by default.
Tip 1: Why do you want to partition the subspec?
Because the log display module is based on the third-party library "CocoaLumberjack", if you don't need it, use "Core" subspec.
Tip 2: Use DoraemonKit in debug model.
### 2: Access method using DoraemonKit's built-in toolset
Add code when the app starts.
```
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
#ifdef DEBUG
[[DoraemonManager shareInstance] addH5DoorBlock:^(NSString *h5Url) {
//Open this link with your H5 container
}];
[[DoraemonManager shareInstance] install];
#endif
}
......
......@@ -2,7 +2,7 @@
<img src="https://javer.oss-cn-shanghai.aliyuncs.com/doraemon/github/DoraemonKit_github.png" width = "150" height = "150" alt="DoraemonKit" align=left />
<img src="https://img.shields.io/github/license/didi/DoraemonKit.svg" align=left />
<img src="https://img.shields.io/badge/Android-1.1.2-blue.svg" align=left />
<img src="https://img.shields.io/badge/iOS-1.1.5-yellow.svg" align=left />
<img src="https://img.shields.io/badge/iOS-1.1.6-yellow.svg" align=left />
<img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" align=left />
</div>
......
......@@ -2,7 +2,7 @@
<img src="https://javer.oss-cn-shanghai.aliyuncs.com/doraemon/github/DoraemonKit_github.png" width = "150" height = "150" alt="DoraemonKit" align=left />
<img src="https://img.shields.io/github/license/didi/DoraemonKit.svg" align=left />
<img src="https://img.shields.io/badge/Android-1.1.2-blue.svg" align=left />
<img src="https://img.shields.io/badge/iOS-1.1.5-yellow.svg" align=left />
<img src="https://img.shields.io/badge/iOS-1.1.6-yellow.svg" align=left />
<img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" align=left />
</div>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册