你如何获得游乐场的命名空间?

时间:2016-05-02 04:45:10

标签: swift swift-playground

在标准Xcode项目中,您可以使用此模式,其中Module是您正在其中工作的模块的名称:

protocol Protocol {}
struct Struct<Protocol: Module.Protocol> {}

当你刚刚使用游乐场时,你怎么做?

0 个答案:

没有答案