• 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: Bundle and multiple classes (ScreenSaver related stuff)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bundle and multiple classes (ScreenSaver related stuff)


  • Subject: Re: Bundle and multiple classes (ScreenSaver related stuff)
  • From: Douglas Davidson <email@hidden>
  • Date: Mon, 23 Jul 2001 11:12:55 -0700

On Monday, July 23, 2001, at 10:42 AM, Stiphane Sudre wrote:

I'm asking this question because I wanted to add a NSFormatter subclass to a screensaver project (which is basically a bundle) and I got hit in the foot by the ScreenSaver panel (and SaverLab too) which told me that my NSFormatter subclass doesn't support initWithFrame: preview.

Yes, you can have more than one class in a bundle. My first guess here would be that the wrong class is showing up as the bundle's principal class. I don't know the details of the screen saver host-plugin interface, but chances are that it probably tries to instantiate the bundle's principal class.

Douglas Davidson


  • Follow-Ups:
    • Re: Bundle and multiple classes (ScreenSaver related stuff)
      • From: Finlay Dobbie <email@hidden>
References: 
 >Bundle and multiple classes (ScreenSaver related stuff) (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Re: Goofy NSDrawer behavior
  • Next by Date: Re: Bundle and multiple classes (ScreenSaver related stuff)
  • Previous by thread: Bundle and multiple classes (ScreenSaver related stuff)
  • Next by thread: Re: Bundle and multiple classes (ScreenSaver related stuff)
  • Index(es):
    • Date
    • Thread