• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Renaming a GUI controller class
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Renaming a GUI controller class


  • Subject: Re: Renaming a GUI controller class
  • From: Andrew Pontious <email@hidden>
  • Date: Fri, 4 Apr 2008 17:17:20 -0700


On Apr 3, 2008, at 9:17 PM, R.L. Grigg wrote:

On Apr 3, 2008, at 8:57 PM, ghe wrote:

On Apr 3, 2008, at 9:32 PM, Shawn Erickson wrote:

(I personally haven't used it for changing a class name however...)

It works. Be sure to check the box about changing the file names...

Refactoring looks interesting. But when I try it in Xcode the refactoring pane checkbox labelled "Rename related files" is dimmed out.

In order for the checkbox to be active, the files involved need to be called MyClass.h and MyClass.m, where "MyClass" is the name of the class being renamed. Therefore, with that checkbox checked, if you rename the class to NewName, the files get renamed to NewName.h and NewName.m, with no further input from you.


-- Andrew
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Renaming a GUI controller class (From: "R.L. Grigg" <email@hidden>)
 >Re: Renaming a GUI controller class (From: "Shawn Erickson" <email@hidden>)
 >Re: Renaming a GUI controller class (From: ghe <email@hidden>)
 >Re: Renaming a GUI controller class (From: "R.L. Grigg" <email@hidden>)

  • Prev by Date: Re: Svn password always lost across Xcode 3 launches
  • Next by Date: Re: Xcode 3 losing scm password
  • Previous by thread: Re: Renaming a GUI controller class
  • Next by thread: ISO Designators versus Legacy Language Designators for resources in Xcode
  • Index(es):
    • Date
    • Thread