Refactorator banner
Refactorator

XcodeOpen Source

Refactorator Overview

An Xcode plugin for refactoring Swift and Objective-C. Refactorator can rename public or internal vars, functions, enums etc. It accesses the SQLite database Xcode compiles using SourceKit to understand your code, making it fast and means all targets of a project are included in refactoring including code written in Objectve-C. To refactor some code, select a symbol in a Swift file and click the right-click menu item to list places in the target that declare or refer to that symbol. Enter a new value for the identifier in the bottom textfield and click the Preview button to view the changes that would be made. Click the Save button to save these changes to disk. There is also an Undo button to revert the changes if you need to.

Stay on top of new tools for iOS developers

Subscribe to get a convenient weekly roundup of iOS Dev Tools' newest addition
of helpful and time-saving developer tools, services, and SDKs to get your job done faster.