• 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
Very annoying and potentially dangerous "feature" of XCode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Very annoying and potentially dangerous "feature" of XCode


  • Subject: Very annoying and potentially dangerous "feature" of XCode
  • From: Dave <email@hidden>
  • Date: Thu, 04 Aug 2016 14:32:39 +0100

Hi,

I’m using XCode version 7.2.1.

I have a Workspace file with a number of projects in it. In two of these projects I have the same method defined but in different classes, as so:

Project X - Class X - Method: startProcess
Project Y - Class Y - Method: startProcess

I have Project Y selected as the current project of the workspace and have the Class Y file open, if I Command-Click a reference to “startProcess” (to take me to the definition in the SAME file) it takes me to the method defined in Project X, Class X, not the version in Project Y, Class Y as expected. This can lead to editing the wrong file should you fail to notice that is has swapped files on you!

Is there anyway to stop this happening?

All the Best
Dave


 _______________________________________________
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


  • Prev by Date: Re: Signing requires selecting either a development team or a provisioning profile. Select a development team or a provisioning profile in the Target Editor.
  • Next by Date: Trouble code-signing in XC8
  • Previous by thread: Importing modules in XCUnitTest
  • Next by thread: Trouble code-signing in XC8
  • Index(es):
    • Date
    • Thread