Extract Protocol is a refactoring that helps you extract the protocol from an existing class and update all usages of extracted members across the whole project or workspace.

For example, for the class below press &shortcut:Refactorings.QuickListPopupAction; and select Protocol action:

Extract protocol

This will result in the following:

Extracted protocol