Skip to content

Commit df664bf

Browse files
committed
rip: remove iOS 11 docs
1 parent 0fdc94b commit df664bf

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

Sources/Swift/FlexLayout.swift

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,7 @@ public final class Flex {
891891

892892
/**
893893
Set all margins using UIEdgeInsets.
894-
This method is particularly useful to set all margins using iOS 11 `UIView.safeAreaInsets`.
894+
This method is particularly useful to set all margins using `UIView.safeAreaInsets`.
895895
*/
896896
@discardableResult
897897
public func margin(_ insets: UIEdgeInsets) -> Flex {
@@ -904,11 +904,8 @@ public final class Flex {
904904

905905
/**
906906
Set margins using NSDirectionalEdgeInsets.
907-
This method is particularly to set all margins using iOS 11 `UIView.directionalLayoutMargins`.
908-
909-
Available only on iOS 11 and higher.
907+
This method is particularly to set all margins using `UIView.directionalLayoutMargins`.
910908
*/
911-
@available(tvOS 11.0, iOS 11.0, *)
912909
@discardableResult
913910
public func margin(_ directionalInsets: NSDirectionalEdgeInsets) -> Flex {
914911
yoga.marginTop = YGValue(directionalInsets.top)
@@ -1124,7 +1121,7 @@ public final class Flex {
11241121

11251122
/**
11261123
Set paddings using UIEdgeInsets.
1127-
This method is particularly useful to set all paddings using iOS 11 `UIView.safeAreaInsets`.
1124+
This method is particularly useful to set all paddings using `UIView.safeAreaInsets`.
11281125
*/
11291126
@discardableResult
11301127
public func padding(_ insets: UIEdgeInsets) -> Flex {
@@ -1137,11 +1134,8 @@ public final class Flex {
11371134

11381135
/**
11391136
Set paddings using NSDirectionalEdgeInsets.
1140-
This method is particularly to set all paddings using iOS 11 `UIView.directionalLayoutMargins`.
1141-
1142-
Available only on iOS 11 and higher.
1137+
This method is particularly to set all paddings using `UIView.directionalLayoutMargins`.
11431138
*/
1144-
@available(tvOS 11.0, iOS 11.0, *)
11451139
@discardableResult
11461140
public func padding(_ directionalInsets: NSDirectionalEdgeInsets) -> Flex {
11471141
yoga.paddingTop = YGValue(directionalInsets.top)

0 commit comments

Comments
 (0)