Re: ScreenSaverEngine loading wrong view!
Re: ScreenSaverEngine loading wrong view!
- Subject: Re: ScreenSaverEngine loading wrong view!
- From: Shawn Erickson <email@hidden>
- Date: Sat, 04 Feb 2006 20:49:18 -0800
I think you have something wrong in your code...
On Feb 4, 2006, at 5:48 PM, patrick wrote:
I decided to scrap everything I did, and just checkout my Xcode
project fresh from CVS where I know it was working. I started
reproducing what I had done, step by step, testing as I went along.
The solution to my problem was to make sure that my ScreenSaverView
was the *last* file in the "Compile Sources" phase of my project. If I
rearrange the order, placing a different view after my screen saver
view, I get the same problem where ScreenSaverEngine tries to load the
wrong view.
I had no idea the order of files here was significant, but it really
seems like it shouldn't be!
Patrick
On 2/4/06, patrick <email@hidden> wrote:
I am working on a screen saver, and all of the sudden, the
ScreenSaverEngine is picking the wrong view to try and load. My
screen
saver has a couple of custom views which I add to my ScreenSaverView
(and has been working fine until just now). I've compared all of my
revisions to that latest in my CVS repository which I know was
working, and even if I revert everything back, I'm still getting this
problem. If I remove all of these views completely from the target
(and comment out all respective lines), it works fine. I find it hard
to believe that ScreenSaverEngine could get confused as to which view
it should use seeing as only one of my views implements
ScreenSaverView. My console log gets messages like the following when
I try to load my screensaver:
2006-02-04 17:26:54.554 ScreenSaverEngine[5065] *** +[OtherImageView
performGammaFade]: selector not recognized
2006-02-04 17:26:54.828 ScreenSaverEngine[5065] *** -[OtherImageView
initWithFrame:isPreview:]: selector not recognized [self = 0x331870]
2006-02-04 17:26:54.877 ScreenSaverEngine[5065] *** -[OtherImageView
initWithFrame:isPreview:]: selector not recognized [self = 0x338e40]
2006-02-04 17:28:06.225 System Preferences[5112] *** -[OtherImageView
initWithFrame:isPreview:]: selector not recognized [self = 0x563b070]
I'm at my wit's end here, and I'm hoping someone might be able to
shed
some insight as to why ScreenSaverEngine has gone crazy.
Thanks,
Patrick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden