Extract Instance Variable is a refactoring in Objective-C that converts the selected expression to an instance variable of the class.
Place the caret at a local variable or select an expression to apply the refactoring to:

and press &shortcut:IntroduceField; (Refactor | Extract Instance Variable).
This will result in the following:
