|
2 | 2 |
|
3 | 3 |
|
4 | 4 | <p align="center">
|
5 |
| -<a href=""><img src="https://img.shields.io/badge/pod-v1.11.0-brightgreen.svg"></a> |
| 5 | +<a href=""><img src="https://img.shields.io/badge/pod-v1.12.0-brightgreen.svg"></a> |
6 | 6 | <a href=""><img src="https://img.shields.io/badge/Swift-compatible-orange.svg"></a>
|
7 | 7 | <a href=""><img src="https://img.shields.io/badge/platform-iOS%207.0%2B-ff69b5152950834.svg"></a>
|
8 | 8 | <a href="https://github.com/ChenYilong/CYLTabBarController/blob/master/LICENSE"><img src="https://img.shields.io/badge/license-MIT-green.svg?style=flat"></a>
|
|
167 | 167 | 在文件 `Podfile` 中加入以下内容:
|
168 | 168 |
|
169 | 169 | ```
|
170 |
| - pod 'CYLTabBarController', '1.11.0' |
| 170 | + pod 'CYLTabBarController', '~> 1.12.0' |
171 | 171 | ```
|
172 | 172 |
|
173 | 173 | 然后在终端中运行以下命令:
|
|
193 | 193 |
|
194 | 194 | CocoaPods 中,有几种设置 CYLTabBarController 版本的方法。如:
|
195 | 195 |
|
196 |
| -`>= 1.11.X` 会根据您本地的 CocoaPods 源列表,导入不低于 `1.12.X` 版本的 CYLTabBarController。 |
| 196 | +`>= 1.12.X` 会根据您本地的 CocoaPods 源列表,导入不低于 `1.12.X` 版本的 CYLTabBarController。 |
197 | 197 |
|
198 |
| -`~> 1.11.X` 会根据您本地的 CocoaPods 源列表,介于 1.11.X~1.12.0 之前版本的 CYLTabBarController。 |
199 |
| -我们建议您锁定版本,便于团队开发。如,指定 1.11.0 版本。 |
| 198 | +`~> 1.12.X` 会根据您本地的 CocoaPods 源列表,介于 1.12.X~1.13.0 之前版本的 CYLTabBarController。 |
| 199 | +我们建议您锁定版本,便于团队开发。如,指定 1.12.0 版本。 |
200 | 200 |
|
201 | 201 |
|
202 | 202 | ```
|
203 |
| -pod 'CYLTabBarController', '1.11.0' |
| 203 | +pod 'CYLTabBarController', '1.12.0' |
204 | 204 | ```
|
205 | 205 |
|
206 | 206 | - 升级本地 CocoaPods 源
|
@@ -532,7 +532,6 @@ Demo 演示的效果图:
|
532 | 532 | /*!
|
533 | 533 | * @param tabBarController The tab bar controller containing viewController.
|
534 | 534 | * @param control Selected UIControl in TabBar.
|
535 |
| - * @attention If PlusButton also add an action, then this delegate method will not be invoked when the PlusButton is selected. |
536 | 535 | */
|
537 | 536 | - (void)tabBarController:(UITabBarController *)tabBarController didSelectControl:(UIControl *)control;
|
538 | 537 |
|
|
0 commit comments