AppCode
 
Get AppCode

Change signature

Last modified: 24 January 2023

Shortcut for the action: Ctrl+F6

General refactoring settings: Preferences | Editor | General

refactoring is available

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.