From 496af65c4aa992112da0ef475f514434a3df42b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AC=A7=E9=98=B3=E5=A4=A7=E5=93=A52013?= Date: Tue, 8 May 2018 22:30:51 +0800 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9daee7b..0e18329 100644 --- a/README.md +++ b/README.md @@ -286,7 +286,7 @@ Sample code: S.subviewHSpace = 10; S.subviewVSpace = 10; - [S addRow:MTLSIZE_WRAPCONTENT colSize:MTLSIZE_WRAPCONTENT]; +    [S addRow:MyLayoutSize.wrap colSize:MyLayoutSize.wrap]; UIView *A = [UIView new]; A.mySize = CGSizeMake(50,40); @@ -300,7 +300,7 @@ Sample code: C.mySize = CGSizeMake(30,40); [S addSubview:C]; - [S addRow:MTLSIZE_WRAPCONTENT colSize:MTLSIZE_WRAPCONTENT]; + [S addRow:MyLayoutSize.wrap colSize:MyLayoutSize.wrap]; UIView *D = [UIView new]; D.mySize = CGSizeMake(200,40);