Re: Class is implemented in both

2016-08-16 Thread Stephane Sudre
Regarding the solution that requires to change the name of the class in the binary (and nib), here is what I used: https://github.com/packagesdev/rsscommon/tree/master/refafactor/refafactor It would require to change the name of the renamable classes (and files if needed). On Mon, Aug 15, 2016

Re: Class is implemented in both

2016-08-15 Thread Uli Kusterer
On 15 Aug 2016, at 03:29, Trygve Inda wrote: > I have a Pref Pane and a Screen Saver module. They both share a common > helper class (MyDisplayManager). > > When the pref pane has been loaded and I go into the screen saver (or vis > versa), because the host app is

Re: Class is implemented in both

2016-08-15 Thread Jean-Daniel Dupas
> Le 15 août 2016 à 18:02, Jens Alfke a écrit : > > >> On Aug 15, 2016, at 11:34 AM, Jean-Daniel Dupas > > wrote: >> >> No, You can have only one PCH per project. That said, you can define a >> second one that include

Re: Class is implemented in both

2016-08-15 Thread Jens Alfke
> On Aug 15, 2016, at 11:34 AM, Jean-Daniel Dupas wrote: > > 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. I think you meant to say you can have only one PCH per _target_. —Jens

Re: Class is implemented in both

2016-08-15 Thread Jean-Daniel Dupas
> Le 15 août 2016 à 15:27, Trygve Inda a écrit : > >> >>> On Aug 15, 2016, at 3:41 AM, Stephane Sudre 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.

Re: Class is implemented in both

2016-08-15 Thread Trygve Inda
> >> On Aug 15, 2016, at 3:41 AM, Stephane Sudre 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

Re: Class is implemented in both

2016-08-15 Thread Jens Alfke
> On Aug 15, 2016, at 3:41 AM, Stephane Sudre 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

Re: Class is implemented in both

2016-08-15 Thread Stephane Sudre
On Mon, Aug 15, 2016 at 3:29 AM, Trygve Inda wrote: > I have a Pref Pane and a Screen Saver module. They both share a common > helper class (MyDisplayManager). > > When the pref pane has been loaded and I go into the screen saver (or vis > versa), because the host app is

Class is implemented in both

2016-08-14 Thread Trygve Inda
I have a Pref Pane and a Screen Saver module. They both share a common helper class (MyDisplayManager). When the pref pane has been loaded and I go into the screen saver (or vis versa), because the host app is System preferences, I get: Class MyDisplayManager is implemented in both One of