On Jun 8, 2015, at 8:07 PM, Carl Hoefs wrote:

> 
>> On Jun 8, 2015, at 4:58 PM, Roland King <[email protected]> wrote:
>> 
>> 
>>> On 9 Jun 2015, at 07:49, Carl Hoefs <[email protected]> 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

Wording is everything.  "Make a different selection that Refactor can handle 
and try again."  That might work a little bit better.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to