- Hardcoded the bundle identifier on Info.plist, CMake is not picking it up. - Do not use installed headers when building the framework.
26 lines
667 B
Objective-C
26 lines
667 B
Objective-C
#import <UIKit/UIKit.h>
|
|
|
|
#import "MGLTypes.h"
|
|
|
|
#include <mbgl/style/image.hpp>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
FOUNDATION_EXTERN MGL_EXPORT MGLExceptionName const MGLResourceNotFoundException;
|
|
|
|
@interface UIImage (MGLAdditions)
|
|
|
|
- (nullable instancetype)initWithMGLStyleImage:(const mbgl::style::Image *)styleImage;
|
|
|
|
- (nullable instancetype)initWithMGLPremultipliedImage:(const mbgl::PremultipliedImage&&)mbglImage scale:(CGFloat)scale;
|
|
|
|
- (std::unique_ptr<mbgl::style::Image>)mgl_styleImageWithIdentifier:(NSString *)identifier;
|
|
|
|
- (mbgl::PremultipliedImage)mgl_premultipliedImage;
|
|
|
|
+ (UIImage *)mgl_resourceImageNamed:(NSString *)imageName;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|