• 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
Renaming source files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Renaming source files


  • Subject: Renaming source files
  • From: Jeremy Dronfield <email@hidden>
  • Date: Thu, 29 Aug 2002 21:48:29 +0100

This is as much a ProjectBuilder question as a Cocoa one, but I thought I'd try here first.

I want to use multiple targets in PB in order to build multiple versions of my application. The app uses 11 source/header file pairs, and 10 nibs. Of these, all files stay the same in all versions, except for one source file (SRControls.m) and one nib (MainMenu.nib). So, I'd like to be able to create alternative versions of just these files to include in each target. Of course, PB won't accept files with identical names, so I tried changing the name of SRControls.m to SRControlsAA.m. (I didn't change the name of SRControls.h, because I only need the one version of it. Also, it's #imported in most of the other source files, so renaming it would be inconvenient.) The app built and ran okay, but is this an "approved" way of doing things? So long as the file is -@implementation SRControls- does it matter that it isn't called SRControls.m?

-Jeremy

========================================
email@hidden // email@hidden
The Alchemy Pages:
- fractious fiction at http://freespace.virgin.net/jeremy.dronfield
========================================
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: c99 and 10.2
  • Next by Date: Re: NSURL Access
  • Previous by thread: c99 and 10.2
  • Next by thread: Re: Renaming source files
  • Index(es):
    • Date
    • Thread