Is there a Prefix Header (or something with this functionality) in Swift?

前端 未结 3 728
没有蜡笔的小新
没有蜡笔的小新 2020-12-05 21:16

Is there a way to get the functionality of a prefix header in Swift? I don´t want to import external libs in every file where they are used.

3条回答
  •  误落风尘
    2020-12-05 21:51

    There is a -enable-bridging-pch feature. But it seems that not working in Xcode 9 :(
    I decided to write this ansewer just to fully cover the topic.

提交回复
热议问题