Added some nullability qualifiers in method implementation selectors for consistency with declarations. The user dot view now has a non-zero size. Previously only its layer was sized properly. Also resolved some pedantic warnings about missing designated initializer overrides. Xcode 6.3 or above is now required for building this project.
13 lines
217 B
Objective-C
13 lines
217 B
Objective-C
#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
|