summaryrefslogtreecommitdiff
path: root/platform/ios/NSString+MGLAdditions.h
blob: 6359576c28778515515158e4085537a80e282da5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#import "MGLTypes.h"

NS_ASSUME_NONNULL_BEGIN

@interface NSString (MGLAdditions)

/** Returns the receiver if non-empty or nil if empty. */
- (nullable NSString *)mgl_stringOrNilIfEmpty;

@end

NS_ASSUME_NONNULL_END