Files
MapLibreParticleLab/platform/ios/NSString+MGLAdditions.h

15 lines
249 B
Objective-C

#import "MGLTypes.h"
NS_ASSUME_NONNULL_BEGIN
void mgl_linkStringCategory();
@interface NSString (MGLAdditions)
/** Returns the receiver if non-empty or nil if empty. */
- (nullable NSString *)mgl_stringOrNilIfEmpty;
@end
NS_ASSUME_NONNULL_END