AppCode
 
Get AppCode
You are viewing the documentation for an earlier version of AppCode.

Change signature

Last modified: 21 July 2022

Shortcut for the action: ⌃ F6

General refactoring settings: Preferences | Editor | General

The Change Signature refactoring combines several different modifications that can be applied to a method/function signature. You can use this refactoring to:

  • change the method/function name and return type

  • add, remove, and reorder parameters

  • change parameter names and types

  • change the visibility type (for Swift) and the callable type (for Objective-C)

When changing a method/function signature, AppCode searches for all usages of the method/function and updates all the calls, implementations, and override replacements of the method/function that can be safely modified to reflect the change.