Navigate classes, functions, and other symbols

Use the Symbol navigator to browse the symbols available across all files in your project, including classes, protocols, properties, functions, structs, unions, enums, types, variables, and globals. Select one to display it in an editor area pane.

Show only classes and protocols: Click the Classes and Protocols button () in the filter bar at the bottom.

Show only project symbols: Click the Project Symbols button () in the filter bar at the bottom.

Show only containers, such as classes and functions: Click the Containers button () in the filter bar at the bottom.

Show the inheritance hierarchy of classes and protocols: Click Hierarchical at the top.

Show a flat list of classes and functions: Click Flat at the top.

Alternatively, navigate the symbols in the current file using the jump bar at the top of an editor area pane.

To jump to a line of code that calls a function or method, Command-click the symbol in the source editor, then choose Caller or Callers from the Action menu. If there’s more than one caller, select a file and line location from the dialog that appears.

See alsoNavigate to files and symbols using the jump barOpen a file containing a symbol