使用场景,

swift framework 调用 ObjC 代码

So what is an umbrella framework? Why is it used?

Umbrella frameworks are frameworks which contain frameworks within. This can be used in several situations.

When you are developing a custom network class which require a different parsing logic

or need to implement a custom online payment functionality,

you might create an umbrella framework.

#ifdef __OBJC__

#import

#else

#ifndef FOUNDATION_EXPORT

#if defined(__cplusplus)

#define FOUNDATION_EXPORT extern "C"

#else

#define FOUNDATION_EXPORT extern

#endif

#endif

#endif

#import "demux.h"

#import "mux.h"

#import "decode.h"

#import "encode.h"

#import "types.h"

#import "mux_types.h"

#import "format_constants.h"

#import "CGImage+

推荐链接

评论可见,请评论后查看内容,谢谢!!!
 您阅读本篇文章共花了: