diff --git a/README.md b/README.md index 47045d2..30d1a75 100644 --- a/README.md +++ b/README.md @@ -1367,17 +1367,17 @@ The property expose the `UIKit` value [`UIView.keyboardLayoutGuide`](https://dev ## WrapContent -The following methods are useful to adjust view's width and/or height to wrap all its subviews. These methods also adjust subviews position to create a tight wrap. +The following methods are useful to adjust view's width and/or height to wrap all its subviews that are included in the layout. These methods also adjust subviews position to create a tight wrap. **Methods:** * **`wrapContent()`** **`wrapContent(padding: CGFloat)`** **`wrapContent(padding: UIEdgeInsets)`** -Adjust the view's width and height to wrap all its subviews. The method also adjusts subviews's position to create a tight wrap. It is also possible to specify an optional padding around all subviews. +Adjust the view's width and height to wrap all its subviews that are included in the layout. The method also adjusts subviews's position to create a tight wrap. It is also possible to specify an optional padding around all subviews. * **`wrapContent(:WrapType)`** **`wrapContent(:WrapType, padding: CGFloat)`** **`wrapContent(:WrapType, padding: UIEdgeInsets)`** -Adjust the view's width AND/OR height to wrap all its subviews. Accept a WrapType parameter to define the wrapping type. It is also possible to specify an optional padding around all subviews. +Adjust the view's width AND/OR height to wrap all its subviews that are included in the layout. Accept a WrapType parameter to define the wrapping type. It is also possible to specify an optional padding around all subviews. **Types:** diff --git a/Sources/Types.swift b/Sources/Types.swift index 90ab6bb..1635999 100644 --- a/Sources/Types.swift +++ b/Sources/Types.swift @@ -186,11 +186,11 @@ public enum FitType { } @objc public enum WrapType: Int { - /// Adjust the view's width AND height to wrap all its subviews. + /// Adjust the view's width AND height to wrap all its subviews that are included in the size calculation. case all - /// Adjust only the view's width to wrap all its subviews. The view's height won't be modified. + /// Adjust only the view's width to wrap all its subviews that are included in the size calculation. The view's height won't be modified. case horizontally - /// Adjust only the view's height to wrap all its subviews. The view's width won't be modified. + /// Adjust only the view's height to wrap all its subviews that are included in the size calculation. The view's width won't be modified. case vertically }