Skip to content

Commit 3bc5d3e

Browse files
author
Luc Dion
committed
Update Readme
1 parent 5735864 commit 3bc5d3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ The resulting size will always respect [`minWidth`/`maxWidth`/`minHeight`/`maxHe
718718
**Methods:**
719719

720720
* **`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, ...).
722722

723723
* **`sizeToFit(: FitType)`**
724724
The method adjust the view's size based on the result of the method `sizeThatFits(:CGSize)`.

0 commit comments

Comments
 (0)