Xcode Tips and Tricks

Learn to use Xcode to the max! Improve your IDE proficiency with techniques such as keyboard shortcuts, editing, and other magic not possible with code alone. By Jessy Catterwaul.

4 (12) · 1 Review

Save for later

Learning path

This is part of the iOS IDEs & Tools learning path. View path.

Who is this for?

To get the most out of this course, you should be comfortable with writing Swift code in Xcode. This course won’t be teaching the basics of how to use Xcode—just how to increase your proficiency and turn you into a master. If you're not comfortable with writing Swift code yet, check out our beginner learning paths.

Covered concepts

  • Xcode Library
  • Keyboard shortcuts
  • Code Snippets
  • Targets
  • SwiftUI

Part 1: Xcode Tips & Tricks

Toggle description

Being able to navigate your project with keyboard shortcuts is your best road to proficiency in Xcode. In this episode, you'll learn the most-used shortcuts.

Behaviors 1:49
Toggle description

Set up your perfect coding environment using behaviors and tabs, then switch to it at will with a keyboard shortcut!

Toggle description

Code snippets are useful for templates of frequently-used boilerplate code. Create a library of them, and share them!

Toggle description

Utilize the LibraryContentProvider protocol, and the LibraryItem structure, to add your own views and modifiers to Xcode's library.

Toggle description

The Library is very handy for discoverability in SwiftUI, but the inspector and "show code actions" menu can be even more useful.

Toggle description

SwiftUI may be the star of Xcode integration these days, but Swift itself has some features which Xcode can render in a very useful way.

Targets 3:05
Toggle description

If you're going to be building a multiplatform app, for Apple's ecosystem, using per-file target membership is a fantastic solution.

Toggle description

Xcode has you covered if you need to have the same header for all of the files in a project—perhaps, copyright information for the organization you work for.

Up next

iOS & Swift
Publishing to the App Store
This course will walk you step by step through the process of registering for a new developer account and ... more



Over 300 content creators. Join our team.