Resolving Missing UI Elements in Xcode 10

Resolving Missing UI Elements in Xcode 10

28 February 2025 Stephan Petzl Leave a comment Xcode

If you’ve recently returned to Swift development and upgraded to Xcode 10, you might find yourself puzzled by the absence of UI elements in the storyboard. This change can be disorienting, especially if you’re transitioning from an older version like Xcode 9, where UI elements were readily accessible. Let’s explore how to navigate this new setup effectively.

Understanding the New Library Layout

In Xcode 10, the library content has been relocated from the bottom of the Inspector area to an overlay window. This window functions similarly to the Spotlight search bar, allowing for movement and resizing. The library will automatically dismiss once items are dragged from it. However, if you hold the Option key before dragging, the library remains open for additional drags.

Accessing the Library

You can open the library in several ways:

  • Use the new toolbar button designed for this purpose.
  • Navigate through the menu: View > Libraries.
  • Utilize the keyboard shortcut: ⇧⌘L (Shift + Command + L).

Additional Shortcuts and Tips

For those working in storyboard or xib files, the following shortcuts will be particularly useful:

  • Show Library: Command + Shift + L
  • Open Library: Command + Shift + Alt + L
  • Show Media: Command + Shift + M
  • Open Media: Command + Shift + Alt + M

It’s important to note that these shortcuts only activate the intended features when you are within the correct context (e.g., storyboard or xib file).

Transitioning to Xcode 11 and Beyond

If you’re using Xcode 11, the icon for accessing the library has changed to a plus sign (+), though the familiar shortcut cmd+shift+L remains functional.

Enhancing Your Workflow with Repeato

As you adapt to the changes in Xcode, consider enhancing your development and testing workflow with Repeato. This no-code test automation tool is ideal for iOS, Android, and web applications. It simplifies the process of creating, running, and maintaining automated tests, leveraging computer vision and AI for efficient test recording and editing.

Repeato supports advanced testing techniques like data-driven and keyword-driven testing, offering a practical alternative to tools like Katalon. Its ability to save tests and workspace data in text and JSON format makes version control straightforward, ensuring that your test automation process is both robust and flexible.

Like this article? there’s more where that came from!