• 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: How to rename a component in Xcode?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to rename a component in Xcode?


  • Subject: Re: How to rename a component in Xcode?
  • From: Guido Neitzer <email@hidden>
  • Date: Sun, 23 Jul 2006 10:33:24 +0200

On 23.07.2006, at 3:32 Uhr, email@hidden wrote:

I want to change the name of a page component, and it looks like the only way to do this is to find each use of the old name and rename it manually. Is that true, or am I missing some magic feature?

No, Xcode has no refactoring methods. You can simply rename the components files and do a search for places where you have used it.


A good tip is not to use

pageWithName ("MyComponent");

but

pageWithName (MyComponent.class.getName());

so you get a compile time error when you have renamed the component and missed some places in your code.

cug

--
PharmaLine, Essen, GERMANY
Software and Database Development


_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >How to rename a component in Xcode? (From: email@hidden)

  • Prev by Date: Re: Building the correct compound EOQualifer for a many-to-many relationship
  • Next by Date: Re: New T-Shirts
  • Previous by thread: Re: How to rename a component in Xcode?
  • Next by thread: Many-to-many w/ one entity
  • Index(es):
    • Date
    • Thread