I have installed Xcode 11 and as apple suggest in https://developer.apple.com/tutorials/swiftui/creating-and-combining-views link I opened the object library but there are only three option one for code snippet, second for media and the third one is for color but not seeing object library in the + icon that is placed on the top right corner
1) tried to open the object library as apple suggest.
please see this screenshot
should show object library
In Xcode 11 use Shift + Command + L to show the Object Library.
You can view the Library by choosing View, Utilities, Show Object Library from the menu bar (Control+Option+Command+3). If it isn't already visible, the Utility area of the Xcode interface opens, and Object Library is displayed in the lower right.
In Xcode 13, the Object library is hidden by default. You have to click the + button at the top menu, as displayed in figure 3-14, to make it appear as a floating window. The Object library contains all the available UI objects such as button, label, image view for you to design your user interface.
Use the keyboard shortcut shift-command-L (⇧⌘L) to open the library. This opens the snippet browser in the source editor or the object browser in Interface Builder. Use shift-command-M (⇧⌘M) to open the media library.
If you are coding in SwiftUI , please remember to keep canvas editor open and then click on the plus button of object library . If your canvas editor is close , selecting object library (cmd + shift +l) won't show the object list in the library .
As @Mo Reza Farahani's comment "You need macOS 10.15 Catalina installed to enable the object library". After installed macOS 10.15(Beta) it is working fine.
It is not working on existing projects, which is already created in Xcode10.14 or less.You have to Create new project to see all these options!
In your xcode 11 please press the + sign in the top of the xcdoe. It will open the dialog box with the object library.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With