Re: Bundle and multiple classes (ScreenSaver related stuff)
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