Re: maintaining group hierarchy
Re: maintaining group hierarchy
- Subject: Re: maintaining group hierarchy
- From: Greg Guerin <email@hidden>
- Date: Tue, 29 May 2007 11:09:55 -0700
David Harper wrote:
>I'm having trouble maintaining the group hierarchy when adding classes to
>the project. I choose (add -> New file...) and it allows me to select a
>directory for the filles, but it creates both the header and .m file in the
>same directory, where I'd prefer the header to go in
>/include/group/subgroup and .m in /source/group/subgroup.
>
>I move the files, and xcode claims they have disappeared and i have to
>delete and reset the references. Is there a better way to manage the
>hierarchy than to separately create the header and source files? Is there a
>way to make xcode move the actual /files/ when I move the references in the
>groups and files view?
Sounds like a job for scripting.
Write a script for Xcode that creates files where you want, then tells
Xcode to add them. IIRC, Xcode refers to files using pathnames (partial or
complete), so it will be simpler to add them in the proper place, rather
than adding them and then trying to tell Xcode you want to move them.
Search your Xcode Help for keywords:
scripts menu
-- GG
_______________________________________________
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