Skip to content

Commit 2e5e950

Browse files
author
@欧柏泉
committed
新版本升级修改。
1 parent e9d79d0 commit 2e5e950

File tree

3 files changed

+22
-5
lines changed

3 files changed

+22
-5
lines changed

MyLayout.podspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
1616
#
1717

1818
s.name = "MyLayout"
19-
s.version = "1.1.9"
19+
s.version = "1.2.0"
2020
s.summary = "A powerful iOS view layout library, suitable for all kinds of screen size. Don't need to learn AutoLayout and SizeClass. "
2121

2222
s.description = <<-DESC
@@ -79,7 +79,7 @@ Pod::Spec.new do |s|
7979
# Supports git, hg, bzr, svn and HTTP.
8080
#
8181

82-
s.source = { :git => "https://github.com/youngsoft/MyLinearLayout.git", :tag => "1.1.9" }
82+
s.source = { :git => "https://github.com/youngsoft/MyLinearLayout.git", :tag => "1.2.0" }
8383

8484

8585
# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #

MyLayout/Lib/MyLayout.h

+11
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,17 @@
3434
SOFTWARE.
3535
*/
3636

37+
38+
/*
39+
version1.2.0
40+
1. 修复了垂直线性布局中同时设置myLeftMargin,myRightMargin并且设置了gravity=MyMarginGravity_Horz_Center时前者设置失效的问题。水平线性布局亦然。
41+
*/
42+
43+
/*
44+
version1.1.9
45+
1.增加了对国际化的支持。
46+
*/
47+
3748
/*
3849
version1.1.8
3950

README.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#MyLayout1.1.9
1+
#MyLayout1.2.0
22

33

44
## Introduction
@@ -76,7 +76,7 @@ To integrate MyLayout into your Xcode project using CocoaPods, specify it in you
7676
source 'https://github.com/CocoaPods/Specs.git'
7777
platform :ios, '7.0'
7878
79-
pod 'MyLayout', '~> 1.1.9'
79+
pod 'MyLayout', '~> 1.2.0'
8080
```
8181

8282
Then, run the following command:
@@ -167,7 +167,7 @@ $ gem install cocoapods
167167
source 'https://github.com/CocoaPods/Specs.git'
168168
platform :ios, '7.0'
169169
170-
pod 'MyLayout', '~> 1.1.9'
170+
pod 'MyLayout', '~> 1.2.0'
171171
```
172172

173173
然后运行如下命令:
@@ -179,6 +179,12 @@ $ pod install
179179

180180

181181
##新功能
182+
183+
---
184+
### V1.2.0版本新功能
185+
1. 修复了垂直线性布局中同时设置myLeftMargin,myRightMargin并且设置了gravity=MyMarginGravity_Horz_Center时前者设置失效的问题。水平线性布局亦然。
186+
187+
182188
---
183189
### V1.1.9版本新功能
184190
1. 添加对国际化的支持。

0 commit comments

Comments
 (0)