- Removes nullability shims for Xcode 6. - Removes MGLTypes.h from files where it was only being used for nullability support. - Accepts that `NS_SWIFT_NAME` is not fully supported by Xcode 7.2 and lower. - Adds documentation about Xcode 7.3 requirement.
17 lines
504 B
Objective-C
17 lines
504 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
#import "MGLMapboxEvents.h"
|
|
#import "MGLTypes.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface MGLAPIClient : NSObject <NSURLSessionDelegate>
|
|
|
|
- (void)postEvents:(NS_ARRAY_OF(MGLMapboxEventAttributes *) *)events completionHandler:(nullable void (^)(NSError * _Nullable error))completionHandler;
|
|
- (void)postEvent:(MGLMapboxEventAttributes *)event completionHandler:(nullable void (^)(NSError * _Nullable error))completionHandler;
|
|
- (void)cancelAll;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|