Skip to content

Commit 5ca3057

Browse files
committed
update readme
1 parent 7c74158 commit 5ca3057

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>

Readme.md

+2-6
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,8 @@ let constraints = VFLConstraints(formatString, env);
6868
</br>
6969
**for convenience, VFL mainly have three kind of API:**
7070

71-
* API like `VFLConstraints`, create a array of constraints, and return it. this
72-
is the basic api
73-
* API like `VFLInstall`, like `VFLConstraints`, but activate these constraints
74-
immediately.
71+
* API like `VFLConstraints`, create a array of constraints, and return it. this is the basic api
72+
* API like `VFLInstall`, like `VFLConstraints`, but activate these constraints immediately.
7573
* API like `VFLFullInstall`, will set `translatesAutoresizingMaskIntoConstraints` to NO for all views in Array or Dict, or the view self if use View's API.
7674

7775
and for Objective-C, there have macros to support **variadic** params like format string:
@@ -288,9 +286,7 @@ let constraints = VFLConstraints(formatString, env);
288286
**本项目主要有三种类型的API:**
289287

290288
* 类似`VFLConstraints`的API, 创建一组约束并返回. 这是最基本的API.
291-
is the basic api
292289
* 类似`VFLInstall`的API, 除创建约束并返回外, 还会自动生效
293-
immediately.
294290
* 类似`VFLFullInstall`的API, 除自动生效外, 会将相应视图`translatesAutoresizingMaskIntoConstraints`属性设为NO. (数组字典中的View, 使用View扩展类中的API则为View自身)
295291

296292
对于Objective-C项目, 有支持**可变参数**的方便使用的宏.

0 commit comments

Comments
 (0)