@@ -118,8 +118,8 @@ <h3>Priority</h3>
118
118
< pre > require()</ pre >
119
119
< pre > withPriority(.high)</ pre >
120
120
< pre > prioritize(.high)</ pre >
121
- < h3 > Update </ h3 >
122
- < p > This method is useful for animating constraints.</ p >
121
+ < h3 > Animation </ h3 >
122
+ < p > This method is useful when animating constraints.</ p >
123
123
< pre > update()</ pre >
124
124
</ td >
125
125
< td > </ td >
@@ -132,12 +132,14 @@ <h3>Size</h3>
132
132
< pre > size(width: 200,
133
133
height: 100,
134
134
priority: .high)</ pre >
135
+ < h3 > Width</ h3 >
135
136
< pre > width(100)</ pre >
136
137
< pre > width(100, priority: .high)</ pre >
137
138
< pre > width(is: .lessThanOrEqual, to: 100)</ pre >
138
139
< pre > width(is: .lessThanOrEqual,
139
140
to: 100,
140
141
priority: .high)</ pre >
142
+ < h3 > Height</ h3 >
141
143
< pre > height(100)</ pre >
142
144
< pre > height(100, priority: .high)</ pre >
143
145
< pre > height(is: .lessThanOrEqual, to: 100)</ pre >
@@ -257,6 +259,9 @@ <h3>Builder</h3>
257
259
< pre > // Height //</ pre >
258
260
< pre > constrainingHeight()</ pre >
259
261
< pre > constrainingHeight(100)</ pre >
262
+ < h3 > Size</ h3 >
263
+ < pre > sizeConstraints()</ pre >
264
+ < pre > sizeConstraints(size)</ pre >
260
265
< h3 > Width</ h3 >
261
266
< pre > widthConstraint(is: relation)</ pre >
262
267
< pre > widthConstraint(is: relation,
@@ -269,9 +274,6 @@ <h3>Height</h3>
269
274
to: 100)</ pre >
270
275
< pre > heightConstraint()</ pre >
271
276
< pre > heightConstraint(100)</ pre >
272
- < h3 > Size</ h3 >
273
- < pre > sizeConstraints()</ pre >
274
- < pre > sizeConstraints(size)</ pre >
275
277
< h3 > Square</ h3 >
276
278
< pre > squareConstraint()</ pre >
277
279
< h3 > Aspect Ratio</ h3 >
@@ -307,8 +309,7 @@ <h3>Attributes</h3>
307
309
of: view,
308
310
multiplier: 2,
309
311
constant: 100)</ pre >
310
- < pre > </ pre >
311
- < pre > // Edge //</ pre >
312
+ < h3 > Edges</ h3 >
312
313
< pre > edgeConstraints()</ pre >
313
314
< pre > edgeConstraints(inset: 100)</ pre >
314
315
< pre > edgeConstraints(insets: directional)</ pre >
@@ -439,9 +440,7 @@ <h3>Autoresizing Mask</h3>
439
440
</ td >
440
441
</ tr >
441
442
</ table >
442
- < p > </ p >
443
- < p align ="center "> Copyright © 2024 Tinder (Match Group, LLC)</ p >
444
- < p > </ p >
443
+ < h4 align ="center "> Copyright © 2024 Tinder (Match Group, LLC)</ h4 >
445
444
</ div >
446
445
</ body >
447
446
</ html >
0 commit comments