AppCode
 
Get AppCode

Extract constant

Last modified: 26 January 2023

Language: Objective-C

Shortcut: Ctrl+Alt+C

The Extract Constant refactoring helps you avoid using hardcoded constants without any explanations about their values or purpose.

https://resources.jetbrains.com/help/img/idea/2023.1/ac_extract_constant.png
Gif