Re: Class is implemented in both
Re: Class is implemented in both
- Subject: Re: Class is implemented in both
- From: Jean-Daniel Dupas <email@hidden>
- Date: Mon, 15 Aug 2016 17:34:44 +0200
> Le 15 août 2016 à 15:27, Trygve Inda <email@hidden> a écrit :
>
>>
>>> On Aug 15, 2016, at 3:41 AM, Stephane Sudre <email@hidden> wrote:
>>>
>>> . you could redefine the class name in the .pch of one project.
>>
>> +1 — I’ve had to do this before, and it works fine. Just add
>> #define MyDisplayManager MyDisplayManager_PP
>> or whatever.
>>
>> The caveat is that of course IB doesn’t read the PCH, so you’ll have to
>> manually change the class name in any nibs it may appear in.
>>
>> —Jens
>
> Both projects share a common pch. Is there a way to add a second pch to just
> one of them?
No, You can have only one PCH per project. That said, you can define a second one that include the first one for your second project.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden