File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Sources/YCoreUI/Extensions/UIKit Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 9
9
import UIKit
10
10
11
11
extension UIView {
12
- /// constrain the aspect ratio for the receiving view
12
+ /// Constrain the aspect ratio for the receiving view.
13
13
/// - Parameters:
14
14
/// - ratio: aspect ratio
15
15
/// - offset: offset to apply (default `.zero`)
16
16
/// - relation: relation to evaluate (towards dimension) (default `.equal`)
17
17
/// - priority: constraint priority (default `.required`)
18
18
/// - isActive: whether to activate the constraint or not (default `true`)
19
- /// - Returns: The created layout constraint
19
+ /// - Returns: the created layout constraint
20
20
@discardableResult public func constrainAspectRatio(
21
21
_ ratio: CGFloat ,
22
22
offset: CGFloat = 0 ,
You can’t perform that action at this time.
0 commit comments