AppCode 2018.1 Help

Extract Superclass

Basics

The Extract Superclass refactoring enables extracting certain methods of a class into a superclass.

Extracting a superclass

Extracting a superclass

  1. Select the desired class in one of the views, or just open it in the editor.

  2. On the on the main menu or on the context menu, choose Refactor | Extract | Superclass.

  3. In the dialog box that appears, specify the following information:
    • Name of the new superclass.

  4. Proceed with the refactoring.

Last modified: 19 September 2019