1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

objc: rework headers import

- 'AdditionalImports' can be removed from misc/objc/gen_dict.json
- avoid using of legacy 'opencv.hpp'
This commit is contained in:
Alexander Alekhin
2020-11-14 22:04:57 +00:00
parent a7c150ec66
commit cfbdbffcad
33 changed files with 70 additions and 44 deletions
@@ -7,14 +7,14 @@
#pragma once
#ifdef __cplusplus
#import "opencv.hpp"
#import "opencv2/core.hpp"
#else
#define CV_EXPORTS
#endif
#import "Mat.h"
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "Mat.h"
NS_ASSUME_NONNULL_BEGIN
@@ -7,14 +7,14 @@
#pragma once
#ifdef __cplusplus
#import "opencv.hpp"
#import "opencv2/core.hpp"
#else
#define CV_EXPORTS
#endif
#import "Mat.h"
#import <Foundation/Foundation.h>
#import <AppKit/AppKit.h>
#import "Mat.h"
NS_ASSUME_NONNULL_BEGIN