• 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: objc [66375] class Foo is implemented in both BundleA and BundleB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: objc [66375] class Foo is implemented in both BundleA and BundleB


  • Subject: Re: objc [66375] class Foo is implemented in both BundleA and BundleB
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 11 May 2016 00:08:34 -0700

> On May 10, 2016, at 11:05 PM, Jeff Szuhay <email@hidden> wrote:
>
> Class Foo is a base class. It is subclassed in BundleA,  BundleB, … BundleZ.

Where is Foo itself implemented? If there are copies of the Foo class in each bundle then yeah, you’ll get that warning.

> Is there a better way to do it? I can’t currently how to have a singleton base class
> implementation that is shared among two or more bundles.

Put the base class (and any other shared code) in a framework that each of your bundles links against.

—Jens

_______________________________________________

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: objc [66375] class Foo is implemented in both BundleA and BundleB
      • From: Jeff Szuhay <email@hidden>
References: 
 >objc [66375] class Foo is implemented in both BundleA and BundleB (From: Jeff Szuhay <email@hidden>)

  • Prev by Date: objc [66375] class Foo is implemented in both BundleA and BundleB
  • Next by Date: Re: Protecting against "app nap"
  • Previous by thread: objc [66375] class Foo is implemented in both BundleA and BundleB
  • Next by thread: Re: objc [66375] class Foo is implemented in both BundleA and BundleB
  • Index(es):
    • Date
    • Thread