Xcode 10 中的对象库在哪里?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/50962797/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Where did the Object Library go in Xcode 10?
提问by HuaTham
回答by HuaTham
Shortcuts:
快捷方式:
Shift+ Command+ L: Show Library.
Shift+ Command+ M: Show Media Library.
Shift+ Command+ L:显示库。
Shift+ Command+ M:显示媒体库。
Xcode 10 has added a toolbar button to access the Object Library.
Xcode 10 添加了一个工具栏按钮来访问对象库。
From a threadon Apple Developer Forum:
从一个线程在苹果开发者论坛:
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)
库内容已从检查器区域的底部移动到覆盖窗口,可以像 Spotlight 搜索一样移动和调整大小。一旦项目被拖动,它就会消失,但在拖动之前按住 Option 键将使库保持打开状态以进行额外的拖动。
可以通过新的工具栏按钮、
View > Libraries
菜单或??L 键盘快捷键打开库。内容动态匹配活动编辑器,因此相同的 UI 提供对代码片段、Interface Builder、SpriteKit 或 SceneKit 项目的访问。媒体库可通过长按工具栏按钮、View > Libraries
菜单或??M 键盘快捷键使用。(37318979, 39885726)
回答by matt
What the existing answers (so far) neglect to mention is that if you hold Optionas you summon the Library window — i.e., press Shift+ Option+ Command+ L, or hold Optionwhile clicking the Library button in the toolbar — the window stays open, permanently, until you explicitly close it with its Close button.
现有答案(到目前为止)没有提到的是,如果您Option在召唤图书馆窗口时按住- 即按Shift+ Option+ Command+ L,或Option在单击工具栏中的图书馆按钮时按住- 该窗口将永久保持打开状态,直到您使用“关闭”按钮明确关闭它。
It is not incorporated (docked) into the current project window, but it can be used in any project. The point is that it becomes almosta normal window (to be precise, it becomes a normal floatingwindow).
它没有合并(停靠)到当前项目窗口中,但可以在任何项目中使用。关键是它几乎变成了一个普通的窗口(准确地说,它变成了一个普通的浮动窗口)。
回答by Chamath Jeevan
回答by IKKA
The library can be opened via a new toolbar button, the View → Libraries menu, or the Shift+ Command+ Lkeyboard shortcut.The media library is available via a long press on the toolbar button, the View → Libraries menu, or the Shift+ Command+ Mkeyboard shortcut.
可以通过新的工具栏按钮、查看 → 库菜单或Shift+ Command+L键盘快捷键打开库。通过长按工具栏按钮、查看 → 库菜单或Shift+ Command+M键盘快捷键可以访问媒体库.
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 Optionkey before dragging will keep the library open for an additional drag.
库内容已从检查器区域的底部移动到覆盖窗口,可以像 Spotlight 搜索一样移动和调整大小。一旦拖动项目它就会消失,但Option在拖动之前按住键将使库保持打开状态以进行额外的拖动。
回答by ADRIAN R7Z
In Xcode 11 use Shift + Command + L to show the Object Library.
在 Xcode 11 中,使用 Shift + Command + L 来显示对象库。