The Extract Constant refactoring helps eliminate hardcoded constants from your Objective-C code, making it easier to read and maintain. In the editor, select an expression or declaration of a variable you want to replace with a constant and press &shortcut:IntroduceConstant; (Refactor | Extract | Constant).

Extract constant