Class is implemented in both
Class is implemented in both
- Subject: Class is implemented in both
- From: Trygve Inda <email@hidden>
- Date: Sun, 14 Aug 2016 18:29:35 -0700
- Thread-topic: Class is implemented in both
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 the two will be
used. Which one is undefined.
The class comes from the same source file. What is the best way to handle
this? I could ignore it because the classes are the same (same source file)
so it should not matter which one is used.
Is there a better way without duplicating and renaming the class?
Thoughts?
_______________________________________________
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