You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -718,7 +718,7 @@ The resulting size will always respect [`minWidth`/`maxWidth`/`minHeight`/`maxHe
718
718
**Methods:**
719
719
720
720
***`sizeToFit()`**
721
-
The method adjust the view's size based on the result of the method `UIView.sizeToFit()`.
721
+
The method adjust the view's size based on the result of the method `UIView.sizeToFit()`. Particularly useful for controls/views that have an intrinsic size (label, button, ...).
722
722
723
723
***`sizeToFit(: FitType)`**
724
724
The method adjust the view's size based on the result of the method `sizeThatFits(:CGSize)`.
0 commit comments