如何从 Swift 访问 Objective-C typedef?

问题描述

我正在尝试通过桥接标头从 Swift 访问框架内的 Objective-C typedef struct,但它返回 MagickWand cannot find in scope 错误

typedef struct _MagickWand
  MagickWand;

有没有办法从 Swift 的代码中访问 typedef

enter image description here

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)