ios - How to rename the class name in swift? -


i trying rename class name in swift gives me error can't refector swift code. want know best way rename file reflect in whole project

currently can't refactor in swift. however, can find menu > find , replace in project. (carefully)

edit: xcode 9 allows refactor.

highlight property/function , choose editor menu -> refactor -> rename

wait second or 2 xcode 9 scan project occurrences , type new name.


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -