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 99import UIKit
1010
1111extension UIView {
12- /// constrain the aspect ratio for the receiving view
12+ /// Constrain the aspect ratio for the receiving view.
1313 /// - Parameters:
1414 /// - ratio: aspect ratio
1515 /// - offset: offset to apply (default `.zero`)
1616 /// - relation: relation to evaluate (towards dimension) (default `.equal`)
1717 /// - priority: constraint priority (default `.required`)
1818 /// - isActive: whether to activate the constraint or not (default `true`)
19- /// - Returns: The created layout constraint
19+ /// - Returns: the created layout constraint
2020 @discardableResult public func constrainAspectRatio(
2121 _ ratio: CGFloat ,
2222 offset: CGFloat = 0 ,
You can’t perform that action at this time.
0 commit comments