ios8 Playground 编辑器不可见

标签 ios ios8 swift-playground

我无法在 Xcode 6.0 中看到 .playground 文件的编辑器屏幕。这里仅显示实体映射屏幕:

如何切换到编辑器,尝试了很多但无法在菜单中找到。

Playgorund

另一件事是,即使我尝试关闭此文件,它也会显示如下消息:

enter image description here

有人解决这个问题吗?

最佳答案

我想,您在“文件检查器”中不小心将类型更改为“核心数据映射模型”。

试试这个:

  1. 通过ViewUtilitiesShow File Inspector 打开“File Inspector”(选项+命令+1)
  2. Type 下拉菜单中选择 Default - Swift Playground
  3. 使用选项+命令+esc“强制退出”Xcode。

screenshot

关于ios8 Playground 编辑器不可见,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26235655/

相关文章:

xcode - XCode Playgrounds 中相互引用的来源

ios - CCDirector 可能无法响应 presentviewcontroller :animation

ios - 使用 Swift 中的 UIScrollView 从用户的触摸点放大图像

ios - swift 3 : unexpectedly found nil while unwrapping an Optional value

iOS 13 safaridriver 无法创建 safari session

swift - 无法在 iOS8 上设置交互式推送通知

swift - 调整 iPad2 图标图像大小 - swift

random - swift 随机数

uiwebview - iOS8 模拟器用户代理

Xcode 6.2 中的 Swift Playground : println doesn't print anything inside willSet/didSet