• 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: ScreenSaverEngine loading wrong view!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ScreenSaverEngine loading wrong view!


  • Subject: Re: ScreenSaverEngine loading wrong view!
  • From: patrick <email@hidden>
  • Date: Sat, 4 Feb 2006 17:48:21 -0800

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

  • Follow-Ups:
    • Re: ScreenSaverEngine loading wrong view!
      • From: Shawn Erickson <email@hidden>
References: 
 >ScreenSaverEngine loading wrong view! (From: patrick <email@hidden>)

  • Prev by Date: ScreenSaverEngine loading wrong view!
  • Next by Date: Re: Trying to draw numbers into a dock icon badge
  • Previous by thread: ScreenSaverEngine loading wrong view!
  • Next by thread: Re: ScreenSaverEngine loading wrong view!
  • Index(es):
    • Date
    • Thread