Swift 2.0 code works in Xcode but not in Playground

后端 未结 2 715
不思量自难忘°
不思量自难忘° 2021-01-05 17:36

I\'m learning Swift and have been frustrated trying to figure out how I\'m unable to load files. It turns out that the code works in Xcode but does not work in a playground.

2条回答
  •  臣服心动
    2021-01-05 18:14

    Might be a permission problem. Probably in your XCode project you have a set of privileges which are not available in playground.

提交回复
热议问题