Extract category
Last modified: 05 April 2022Language: Objective-C
With the Extract Category refactoring you can create a new category based on the members of the current class.

Gif
Extract a category refactoring
Select the desired class in the editor.
Select Refactor | Extract/Introduce | Category from the main or context menu.
In the dialog that opens, type the name of the new category, select the members that you want to move there, and click Extract.
Before | After |
---|---|
|
|
Thanks for your feedback!
Was this page helpful?