简体   繁体   中英

Change the Existing class name in xcode

I have xcode 4.5 and I want to add two project's file in my project.
But the problem is - In that two class both class's name are same.
I changed the Class prefix from file inspector but it is changing the newly added file's name.
not my existing class name.

How to change all the existing class name or single class name ?

  1. Select your class name in .h/.m file
  2. Goto Edit->Refactor->Rename
  3. Enter the new name for the class

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM