summaryrefslogtreecommitdiff
path: root/platform/ios/src/UIView+MGLAdditions.h
blob: ef074215b37b0b0cca6a35c0178f3961b2bc2c7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIView (MGLAdditions)

- (nullable UIViewController *)mgl_viewControllerForLayoutGuides;

- (NSLayoutYAxisAnchor *)mgl_safeTopAnchor;

- (NSLayoutXAxisAnchor *)mgl_safeLeadingAnchor;

- (NSLayoutYAxisAnchor *)mgl_safeBottomAnchor;

- (NSLayoutXAxisAnchor *)mgl_safeTrailingAnchor;

@end

NS_ASSUME_NONNULL_END