123456789101112131415161718192021222324 |
- #import <Foundation/Foundation.h>
- #import <CoreLocation/CoreLocation.h>
- @interface DCTZLocationManager : NSObject
- + (instancetype)manager;
- - (void)startLocation;
- - (void)startLocationWithSuccessBlock:(void (^)(NSArray<CLLocation *> *))successBlock failureBlock:(void (^)(NSError *error))failureBlock;
- - (void)startLocationWithGeocoderBlock:(void (^)(NSArray *geocoderArray))geocoderBlock;
- - (void)startLocationWithSuccessBlock:(void (^)(NSArray<CLLocation *> *))successBlock failureBlock:(void (^)(NSError *error))failureBlock geocoderBlock:(void (^)(NSArray *geocoderArray))geocoderBlock;
- @end
|