Xcode 10 中对象库去了哪里?
Where did the Object Library go in Xcode 10?
在 Xcode 10 中,在 Xcode 9 及更早版本中显示视图和控制器对象、代码片段和媒体的对象库在哪里?
Xcode 9:
Xcode 10:
快捷方式:
Shift + Command + L: 显示库。
Shift + Command + M:显示媒体库。
Xcode10 添加了一个工具栏按钮来访问对象库。
来自 Apple 开发者论坛上的 thread:
Library content has moved from the bottom of the Inspector area to an overlay window, which can be moved and resized like Spotlight search. It dismisses once items are dragged, but holding the Option key before dragging will keep the library open for an additional drag.
The library can be opened via a new toolbar button, the View > Libraries
menu, or the ⇧⌘L keyboard shortcut. Content dynamically matches the active editor, so the same UI provides access to code snippets, Interface Builder, SpriteKit, or SceneKit items. The media library is available via a long press on the toolbar button, the View > Libraries
menu, or the ⇧⌘M keyboard shortcut. (37318979, 39885726)
库可以通过新的工具栏按钮、视图 → 库菜单或 Shift + Command + L 键盘 shortcut.The 媒体库可通过长按工具栏按钮、视图 → 库菜单或 Shift + 命令 + M 键盘快捷键。
库内容已从检查器区域的底部移动到叠加层 window,可以像 Spotlight 搜索一样移动和调整其大小。一旦项目被拖动它就会消失,但在拖动之前按住 Option 键将使库保持打开状态以进行额外的拖动。
现有答案(到目前为止)忽略的是,如果您在召唤图书馆时按住 Option window — 即按 Shift + Option + Command + L,或按住Option 同时单击工具栏中的库按钮 — window 保持打开状态,永久,直到您使用其关闭按钮明确关闭它。
它没有合并(停靠)到当前项目中window,但可以在任何项目中使用。重点是变成了almost一个普通的window(准确的说,变成了一个普通的floatingwindow) .
XCode 11 - 对象库位置
单击 Xcode 顶部栏右上角的加号图标。
在Xcode11中使用Shift + Command + L显示对象库。
Xcode 12 用户可以找到与上面写的 Xcode 11 相同的选项。
Shift
Command
L
调出 Objects/Image/Color 和其他 context-sensitive 库。
鼠标悬停时,window 标题库的右上角还有 +
标志。
这让我疯狂地尝试遵循可能为 Xcode 10 编写的教程。感谢其他人的回答!
在 Xcode 10 中,在 Xcode 9 及更早版本中显示视图和控制器对象、代码片段和媒体的对象库在哪里?
Xcode 9:
Xcode 10:
快捷方式:
Shift + Command + L: 显示库。
Shift + Command + M:显示媒体库。
Xcode10 添加了一个工具栏按钮来访问对象库。
来自 Apple 开发者论坛上的 thread:
Library content has moved from the bottom of the Inspector area to an overlay window, which can be moved and resized like Spotlight search. It dismisses once items are dragged, but holding the Option key before dragging will keep the library open for an additional drag.
The library can be opened via a new toolbar button, the
View > Libraries
menu, or the ⇧⌘L keyboard shortcut. Content dynamically matches the active editor, so the same UI provides access to code snippets, Interface Builder, SpriteKit, or SceneKit items. The media library is available via a long press on the toolbar button, theView > Libraries
menu, or the ⇧⌘M keyboard shortcut. (37318979, 39885726)
库可以通过新的工具栏按钮、视图 → 库菜单或 Shift + Command + L 键盘 shortcut.The 媒体库可通过长按工具栏按钮、视图 → 库菜单或 Shift + 命令 + M 键盘快捷键。
库内容已从检查器区域的底部移动到叠加层 window,可以像 Spotlight 搜索一样移动和调整其大小。一旦项目被拖动它就会消失,但在拖动之前按住 Option 键将使库保持打开状态以进行额外的拖动。
现有答案(到目前为止)忽略的是,如果您在召唤图书馆时按住 Option window — 即按 Shift + Option + Command + L,或按住Option 同时单击工具栏中的库按钮 — window 保持打开状态,永久,直到您使用其关闭按钮明确关闭它。
它没有合并(停靠)到当前项目中window,但可以在任何项目中使用。重点是变成了almost一个普通的window(准确的说,变成了一个普通的floatingwindow) .
XCode 11 - 对象库位置
单击 Xcode 顶部栏右上角的加号图标。
在Xcode11中使用Shift + Command + L显示对象库。
Xcode 12 用户可以找到与上面写的 Xcode 11 相同的选项。
Shift
Command
L
调出 Objects/Image/Color 和其他 context-sensitive 库。
鼠标悬停时,window 标题库的右上角还有 +
标志。
这让我疯狂地尝试遵循可能为 Xcode 10 编写的教程。感谢其他人的回答!