Files
MapLibreParticleLab/platform/ios/src/MGLAPIClient.h
Jason Wray 256689a33d [ios, macos] Make Xcode 7.3 the minimum required version
- 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.
2016-08-18 11:35:32 -04:00

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