* [ios] Remove iOS 8 conditionals * [ios, macos] Bump pod deployment targets * [ios, macos] Add changelog entries * [ios, macos] Update docs * Remove unnecessary selector-based version checks * Update SQLite note * [ios, macos] Replace lightweight generics macros with direct use Lightweight generics for Foundation collections are available everywhere with the bump to iOS 9 and macOS 10.11. * Update deprecated macOS method
29 lines
701 B
Objective-C
29 lines
701 B
Objective-C
#import <Mapbox/Mapbox.h>
|
|
#import <XCTest/XCTest.h>
|
|
|
|
#define MGLConstantExpression(constant) \
|
|
[NSExpression expressionForConstantValue:constant]
|
|
|
|
@interface MGLStyleLayerTests : XCTestCase <MGLMapViewDelegate>
|
|
|
|
@property (nonatomic, copy, readonly, class) NSString *layerType;
|
|
|
|
- (void)testPropertyName:(NSString *)name isBoolean:(BOOL)isBoolean;
|
|
|
|
@end
|
|
|
|
@interface NSString (MGLStyleLayerTestAdditions)
|
|
|
|
@property (nonatomic, readonly, copy) NSArray<NSString *> *lexicalClasses;
|
|
@property (nonatomic, readonly, copy) NSString *lemma;
|
|
|
|
@end
|
|
|
|
@interface NSValue (MGLStyleLayerTestAdditions)
|
|
|
|
+ (instancetype)valueWithMGLVector:(CGVector)vector;
|
|
|
|
@property (readonly) CGVector MGLVectorValue;
|
|
|
|
@end
|