Re: Project copying
Re: Project copying
- Subject: Re: Project copying
- From: Fritz Anderson <email@hidden>
- Date: Fri, 07 Mar 2014 11:52:52 -0600
Alex’s response is quite correct, but I’ll add some pickiness.
* You get at the Utility area (the one on the right, with the inspectors) by clicking the rightmost button in the rightmost group in the toolbar.
* The File inspector is the first tab (looks like a document icon).
* What you’re looking for is the Location popup. Relative to Group or Relative to Project is what you want to see; otherwise Xcode’s search for the file will start at (effectively) fixed, absolute paths away from where your files probably are.
* If the displayed paths include lots of ".." directories after you changed the location root, you’re Doing it Wrong. You should move heaven and earth to keep your files inside the project tree. (Possible exception: files in other projects, if they share a workspace with the one you’re working on. I’m not sure.)
* Son-of-a-gun. I didn’t even know that that top section (Identity and Type) could be collapsed. Hiding expand/collapse controls has become a motif in Apple’s UI design, and Alex is quite right that it’s [suppressing rant] not useful.
Discoverability is an elementary principle, and if this isn’t a 180° reversal, it’s at least 165°. Even if it were discoverable (and I just sent a whole damn book about Xcode to the publisher without knowing about it), I don’t see why the feature is even necessary.
[More rant about overzealous minimalism.]
However, part of the reason I didn’t know about this is that I’ve never known Xcode to trigger it spontaneously, as Alex implies he has seen.
— F
On 7 Mar 2014, at 11:04 AM, Alex Zavatone <email@hidden> wrote:
> It should be the new project - unless you have linked files outside your project directory.
>
> You can check on this by opening the inspector panel, selecting a file and looking under the Identity and Type section in the inspector panel. It should show the file's path.
>
> Note: if you have the Identity and Type section closed, as a result of UI changes in Xcode 5, it's not obvious at all that this is an actual button that displays info about the current file. For some strange reason, Apple removed the disclosure triangle style graphic that shows people this is an expandable item.
>
> No idea who thought that was a good idea, but it isn't a good idea.
>
> In any case, with Identity and Type expanded, you can check your files to see if they are all within your project's folder and in that case, if you edit the files in the new project copy, they will be edited in there.
>
> On Mar 7, 2014, at 11:50 AM, William Squires wrote:
>
>> If I copy a project's folder to a new location and open the project file and edit a source file, which file gets modified; the one in the original project directory, or the one at the new location?
>>
>>
>> _______________________________________________
>> 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
>
>
> _______________________________________________
> 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
_______________________________________________
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