• 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
Refactor: "The selection does not contain identifiable content."
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Refactor: "The selection does not contain identifiable content."


  • Subject: Refactor: "The selection does not contain identifiable content."
  • From: Fritz Anderson <email@hidden>
  • Date: Fri, 5 Feb 2010 12:53:54 -0600

Consider the following, from a header file generated from my MOM, for entity "Pattern:"

====
@interface Pattern :  NSManagedObject
{
}

@property (nonatomic, retain) NSNumber * patternID;
@property (nonatomic, retain) NSNumber * length;
@property (nonatomic, retain) NSSet* waypoints;
@property (nonatomic, retain) NSSet* vehicles;
@property (nonatomic, retain) Route * route;

@end
====

This turns out not to compile, because "Pattern" is the name of a struct defined in QuickdrawTypes.h (odd that it's in the include path for my project, but...). Okay, so I want a new, distinctive name, like "RoutePattern." I double-click Pattern to select it, and then Edit > Refactor... . It offers to rename Pattern. After I wait a few seconds (it doesn't matter whether I type anything), an alert sheet drops in:

The selection does not contain identifiable content. - Make a different selection and try again.

Clicking the OK button dismisses the refactoring window.

Quitting Xcode, then reopening the project, doesn't help. Rebuilding the Code Sense index doesn't help. Doing a complete clean doesn't help.

How can I make this work? Surely moving a project symbol out from under a system symbol is a common refactoring task.

	— F


 _______________________________________________
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: Refactor: "The selection does not contain identifiable content."
      • From: Joar Wingfors <email@hidden>
  • Prev by Date: Re: Xcode contextual menu
  • Next by Date: Provisioning Profile Expiration
  • Previous by thread: Re: Xcode contextual menu
  • Next by thread: Re: Refactor: "The selection does not contain identifiable content."
  • Index(es):
    • Date
    • Thread