Protocol

XCSourceEditorExtension

The protocol you implement to create Xcode source editor extensions.

Declaration

@protocol XCSourceEditorExtension

Overview

There are no guarantees about the thread or queue on which any Xcode Source Editor Extension methods are executed, including the designated initializer.

Topics

Defining Extension Commands

commandDefinitions

The array of command definitions used by Xcode to associate command names with their implementation in an extension.

Handling Extension Launches

- extensionDidFinishLaunching

Tells the extension that it successfully launched and may begin to receive editor commands.

Relationships

Inherits From

See Also

First Steps

Creating a Source Editor Extension

Add and configure a source editor extension in your Xcode project.

Testing Your Source Editor Extension

Launch a special instance of Xcode to test your source editor extension.