MapsIndoors iOS SDK V3
Loading...
Searching...
No Matches
MPImageProvider.h
Go to the documentation of this file.
1//
2// MPImageProvider.h
3// MapsIndoorsSDK
4//
5// Created by Amine on 28/06/2017.
6// Copyright © 2017 MapsPeople A/S. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import <UIKit/UIKit.h>
11
12@protocol MPImageProvider<NSObject>
13
14- (void)getImageFromUrlStringAsync: (nonnull NSString*)url imageSize: (CGSize) size completionHandler: (nonnull void (^)(UIImage* _Nullable image, NSError* _Nullable error)) completionHandler;
15
16@end
17
18@interface MPImageProvider : NSObject<MPImageProvider>
19
20- (void)getImageFromUrlStringAsync: (nonnull NSString*)url imageSize: (CGSize) size completionHandler: (nonnull void (^)(UIImage* _Nullable image, NSError* _Nullable error)) completionHandler;
21+ (void)getImageFromUrlStringAsync: (nonnull NSString*)url completionHandler: (nonnull void (^)(UIImage* _Nullable image, NSError* _Nullable error)) completionHandler;
22
23@end
@ image
Definition NSString+CustomFont.h:45
Definition MPImageProvider.h:18
Definition MPImageProvider.h:12