• 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
Re: Class is implemented in both
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Class is implemented in both
      • From: Jens Alfke <email@hidden>
References: 
 >Re: Class is implemented in both (From: Trygve Inda <email@hidden>)

  • Prev by Date: Re: Bug in 10.12 drawing glyph from labelFont or systemFont with bezier path
  • Next by Date: Re: Class is implemented in both
  • Previous by thread: Re: Class is implemented in both
  • Next by thread: Re: Class is implemented in both
  • Index(es):
    • Date
    • Thread