@@ -23,7 +23,7 @@ NS_ASSUME_NONNULL_BEGIN
2323 \param otherView The view you want to compare to. It does not need to have the same superview, but MUST share some ancestor view.
2424 \returns True if the view is laid out before another view.
2525 */
26- - (BOOL )lyt_before : (UIView *)otherView ;
26+ - (BOOL )lyt_before : (UIView *)otherView NS_SWIFT_NAME(lyt_before(_:)) ;
2727
2828/* *
2929 Version of lyt_before that takes a fromCenter param. If fromCenter is YES, the comparison starts from the center of the view rather than the
@@ -34,7 +34,7 @@ NS_ASSUME_NONNULL_BEGIN
3434 \param fromCenter If YES, allow an overlap up to the center of otherView. If NO, behavior is the same as without the param
3535 \returns True if the view is laid out before another view, allowing for an overlap up to the center if fromCenter is YES.
3636 */
37- - (BOOL )lyt_before : (UIView *)otherView fromCenter : (BOOL )fromCenter ;
37+ - (BOOL )lyt_before : (UIView *)otherView fromCenter : (BOOL )fromCenter NS_SWIFT_NAME(lyt_before(_:fromCenter:)) ;
3838
3939/* *
4040 Returns whether a view is after another view on the horizontal axis. It returns false if they are overlapping in any way.
@@ -46,7 +46,7 @@ NS_ASSUME_NONNULL_BEGIN
4646 \param otherView The view you want to compare to. It does not need to have the same superview, but MUST share some ancestor view.
4747 \returns True if the view is laid out after another view.
4848 */
49- - (BOOL )lyt_after : (UIView *)otherView ;
49+ - (BOOL )lyt_after : (UIView *)otherView NS_SWIFT_NAME(lyt_after(_:)) ;
5050
5151/* *
5252 Version of lyt_after that takes a fromCenter param. If fromCenter is YES, the comparison starts from the center of the view rather than the
@@ -57,7 +57,7 @@ NS_ASSUME_NONNULL_BEGIN
5757 \param fromCenter If YES, allow an overlap up to the center of otherView. If NO, behavior is the same as without the param
5858 \returns True if the view is laid out before another view, allowing for an overlap up to the center if fromCenter is YES.
5959 */
60- - (BOOL )lyt_after : (UIView *)otherView fromCenter : (BOOL )fromCenter ;
60+ - (BOOL )lyt_after : (UIView *)otherView fromCenter : (BOOL )fromCenter NS_SWIFT_NAME(lyt_after(_:fromCenter:)) ;
6161
6262/* *
6363 Returns whether a view is above another view on the vertical axis. It returns false if they are overlapping in any way.
@@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN
6767 \param otherView The view you want to compare to. It does not need to have the same superview, but MUST share some ancestor view.
6868 \returns True if the view is laid out above another view.
6969 */
70- - (BOOL )lyt_above : (UIView *)otherView ;
70+ - (BOOL )lyt_above : (UIView *)otherView NS_SWIFT_NAME(lyt_above(_:)) ;
7171
7272/* *
7373 Returns whether a view is below another view on the vertical axis. It returns false if they are overlapping in any way.
@@ -77,7 +77,7 @@ NS_ASSUME_NONNULL_BEGIN
7777 \param otherView The view you want to compare to. It does not need to have the same superview, but MUST share some ancestor view.
7878 \returns True if the view is laid out below another view.
7979 */
80- - (BOOL )lyt_below : (UIView *)otherView ;
80+ - (BOOL )lyt_below : (UIView *)otherView NS_SWIFT_NAME(lyt_below(_:)) ;
8181
8282/* *
8383 Returns whether the start of a view is aligned with another view on the horizontal axis. It allows views to overlap.
@@ -89,7 +89,7 @@ NS_ASSUME_NONNULL_BEGIN
8989 \param otherView The view you want to compare to. It does not need to have the same superview, but MUST share some ancestor view.
9090 \returns True if the view is start aligned with another view.
9191 */
92- - (BOOL )lyt_leadingAligned : (UIView *)otherView ;
92+ - (BOOL )lyt_leadingAligned : (UIView *)otherView NS_SWIFT_NAME(lyt_leadingAligned(_:)) ;
9393
9494/* *
9595 Returns whether the end of a view is aligned with another view on the horizontal axis. It allows views to overlap.
@@ -101,7 +101,7 @@ NS_ASSUME_NONNULL_BEGIN
101101 \param otherView The view you want to compare to. It does not need to have the same superview, but MUST share some ancestor view.
102102 \returns True if the view is end aligned with another view.
103103 */
104- - (BOOL )lyt_trailingAligned : (UIView *)otherView ;
104+ - (BOOL )lyt_trailingAligned : (UIView *)otherView NS_SWIFT_NAME(lyt_trailingAligned(_:)) ;
105105
106106/* *
107107 Returns whether the top of a view is aligned with another view on the vertical axis. It allows views to overlap.
@@ -111,7 +111,7 @@ NS_ASSUME_NONNULL_BEGIN
111111 \param otherView The view you want to compare to. It does not need to have the same superview, but MUST share some ancestor view.
112112 \returns True if the view is top aligned with another view.
113113 */
114- - (BOOL )lyt_topAligned : (UIView *)otherView ;
114+ - (BOOL )lyt_topAligned : (UIView *)otherView NS_SWIFT_NAME(lyt_topAligned(_:)) ;
115115
116116/* *
117117 Returns whether the bottom of a view is aligned with another view on the vertical axis. It allows views to overlap.
@@ -121,7 +121,7 @@ NS_ASSUME_NONNULL_BEGIN
121121 \param otherView The view you want to compare to. It does not need to have the same superview, but MUST share some ancestor view.
122122 \returns True if the view is bottom aligned with another view.
123123 */
124- - (BOOL )lyt_bottomAligned : (UIView *)otherView ;
124+ - (BOOL )lyt_bottomAligned : (UIView *)otherView NS_SWIFT_NAME(lyt_bottomAligned(_:)) ;
125125
126126@end
127127
0 commit comments