Well, Xcode 8 is missing and, unfortunately, refactoring is still not available for Swift (Apple (ಠ_ಠ)).
I am trying to list all available options for performing complex refactoring (renaming classes, properties used outside of classes, methods, properties that have a collision of names with other properties, etc.)
So far I have come to the following:
- In manual mode - not an option for me (a large and nested project can lead to a reduction in life expectancy)
- Finding and replacing is the best option, but still includes hard manual labor (going through each search result and replacement, because choosing to replace all is very risky for a simple text search)
- Using the AppCode refactoring option - this option seems to be the most promising, but it seems erroneous (not replacing some occurrences), the program also does not support Xcode 8, and it costs money (I'm on the 30th day). overall, this is the best security solution I can come up with.
I was wondering, maybe someone has other good ways to do complex refactoring in Swift, maybe something that feels safe and reliable?
Thank!
source
share