Xcode can only refactor C and Objective-C code. How to rename swift class name in Xcode 6?

后端 未结 6 1854
遥遥无期
遥遥无期 2020-12-24 11:28

I have created a new Single View Application Project in Xcode 6 beta version. I want to rename swift class from ViewController.swift to some other name. But whe

6条回答
  •  不思量自难忘°
    2020-12-24 11:59

    I use this way:

    • You can positioning the cursor on the variable that you want rename
    • Select Editor - Edit all in Scope (^⌘E)
    • Rename the variable and automatically all variable occurrences is edit

提交回复
热议问题