LeoMobileDeveloper / Blogs

一点心得 - iOS,Swift,React Native,Python...
1.59k stars 295 forks source link

避免swift库对外暴露 #6

Closed 7-Yue closed 5 years ago

7-Yue commented 5 years ago

在framework库里混编的时候,oc调用swift,swift必须是public,这样swift就可以被外界访问了。有没有办法避免对外暴露。

LeoMobileDeveloper commented 5 years ago

很久不写Swift,暂时不能给出好的建议