Skip to content

Commit 47801cf

Browse files
devkaranCTmpospese
authored andcommitted
[CM-1012] Updated documentation comment.
1 parent 3af2999 commit 47801cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/YCoreUI/Extensions/UIKit/UIView+constrainAspectRatio.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
import UIKit
1010

1111
extension 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,

0 commit comments

Comments
 (0)