• 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: Refactoring a #define definition
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Refactoring a #define definition


  • Subject: Re: Refactoring a #define definition
  • From: Carl Hoefs <email@hidden>
  • Date: Mon, 08 Jun 2015 17:07:59 -0700


On Jun 8, 2015, at 4:58 PM, Roland King <email@hidden> wrote:


On 9 Jun 2015, at 07:49, Carl Hoefs <email@hidden> wrote:

When I try to refactor (any) definition in Objc, such as:

#define kCalloutDevice "IOCalloutDevice"

Xcode 6.3.2 complains:

The selection is not a type that can be renamed.
Make a different selection and try again.

What am I doing wrong?
-Carl
 

Nothing - the refactoring tool doesn’t refactor defines, which is what the error message tells you. Use find and replace. 

Yep -- (however, the "try again” advice is priceless...)
Thx,
-Carl

 _______________________________________________
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

  • Follow-Ups:
    • Re: Refactoring a #define definition
      • From: Alex Zavatone <email@hidden>
References: 
 >Refactoring a #define definition (From: Carl Hoefs <email@hidden>)
 >Re: Refactoring a #define definition (From: Roland King <email@hidden>)

  • Prev by Date: Re: Refactoring a #define definition
  • Next by Date: NSStatusItem popUpStatusItemMenu shows menu over main menubar instead of below it
  • Previous by thread: Re: Refactoring a #define definition
  • Next by thread: Re: Refactoring a #define definition
  • Index(es):
    • Date
    • Thread