当前位置:网站首页>oc 项目倒入swift 代码注意事项
oc 项目倒入swift 代码注意事项
2022-07-22 10:22:00 【songbai1211】
oc 项目倒入swift 代码的时候
- pod 引入库,必须使用user_frameworks
- 新建swift 类,会自动创建 xxx-bridging-header,点击创建就ok
- 如果swift pod 库里面报错,直接更新就好了
- 引用swift类的时候 直接使用
#import "xxx-Swift.h",xxx是工程名称
,不能直接使用#import “xxxswiftVC .h”这种类名,会报错,
边栏推荐
猜你喜欢
Docker - 通过容器安装部署DB2数据库教程
jvm的jps简单使用
From data standards to database design: solve the last mile problem of basic data standards (Part 2)
Spark:图(Graph)
IDEA运行WordCount程序(详细步骤)
AttributeError: module ‘tensorflow.keras.utils‘ has no attribute image_dataset_from_directory——解决方法
jvm-jmap(内存映像工具)的使用
Common performance tools: if you want to be good at something, you must first sharpen its tools
Vs Code common shortcut keys
IO models you often encounter
随机推荐
纯函数与高阶函数
Dynamic memory management and flexible array
模块与组件、模块化与组件化的理解分析
CNN的简单实现过程
The luckiest geek in China: in his early twenties, he was worth more than 100 million, and retired after three startups
【数据库基础干货】MySQL基础及慢查询优化实践
Summary of MySQL grant user permissions
C regular expression extracts the index position where the specified word appears
从数据标准到数据库设计:解决基础数据标准落地的最后一公里难题(上)
ES6 new features sharing (end)
JVM-VisualVM:多合-故障处理工具
grep实际使用 ps/netstat/sort
LogBack & MDC & a simple use
shell 脚本编写提示
mysql grant 用户权限总结
NC54 三数之和
leetcode 32. 最长有效括号
Open MySQL binlog log on Linux
关与 @EnableConfigurationProperties 注解
AttributeError: module ‘tensorflow.keras.utils‘ has no attribute image_dataset_from_directory——解决方法