From 544e8aae0b6eb8e76b4b063441a0183f620bf423 Mon Sep 17 00:00:00 2001 From: junsuk Date: Sun, 6 Apr 2025 02:19:02 +0900 Subject: [PATCH 1/3] DOCS: add return type to isIncludedInLayout documentation comment --- Sources/Swift/FlexLayout.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Swift/FlexLayout.swift b/Sources/Swift/FlexLayout.swift index 7608429..1b8707c 100644 --- a/Sources/Swift/FlexLayout.swift +++ b/Sources/Swift/FlexLayout.swift @@ -138,7 +138,7 @@ public final class Flex { flexbox's UIView is excluded, FlexLayout won't layout the view and its children views. - Parameter included: true to layout the view - - Returns: + - Returns: Flex interface */ @discardableResult public func isIncludedInLayout(_ included: Bool) -> Flex { From 928d4732ac109d988fd173b6fa6972dff7cb64a8 Mon Sep 17 00:00:00 2001 From: junsuk Date: Sun, 6 Apr 2025 02:20:08 +0900 Subject: [PATCH 2/3] DOCS: add return type to layoutDirection documentation comment --- Sources/Swift/FlexLayout.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Swift/FlexLayout.swift b/Sources/Swift/FlexLayout.swift index 1b8707c..f530ffc 100644 --- a/Sources/Swift/FlexLayout.swift +++ b/Sources/Swift/FlexLayout.swift @@ -235,7 +235,7 @@ public final class Flex { root of your layout tree. - Parameter value: new LayoutDirection - - Returns: + - Returns: Flex interface */ @discardableResult public func layoutDirection(_ value: LayoutDirection) -> Flex { From 14bb3a87d1b3f35c77f5bf997a0039f78742a17f Mon Sep 17 00:00:00 2001 From: junsuk Date: Sun, 6 Apr 2025 02:21:43 +0900 Subject: [PATCH 3/3] DOCS: add return type to aspectRatio documentation comment --- Sources/Swift/FlexLayout.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Swift/FlexLayout.swift b/Sources/Swift/FlexLayout.swift index f530ffc..211d31b 100644 --- a/Sources/Swift/FlexLayout.swift +++ b/Sources/Swift/FlexLayout.swift @@ -520,7 +520,7 @@ public final class Flex { media types. AspectRatio accepts any floating point value > 0, the default is undefined. - Parameter value: - - Returns: + - Returns: Flex interface */ @discardableResult public func aspectRatio(_ value: CGFloat?) -> Flex { @@ -534,7 +534,7 @@ public final class Flex { media types. AspectRatio accepts any floating point value > 0, the default is undefined. - Parameter value: - - Returns: + - Returns: Flex interface */ @discardableResult public func aspectRatio(of imageView: UIImageView) -> Flex {