The reason why this isn't working in Leopard is simple: -setAlphaValue: for non-layer-backed views was not implemented until Snow Leopard.
The documentation for -setAlphaValue: states: > Sending this message to a view that is not managing a Core Animation layer > causes an exception. I don't know if it ever actually caused an exception, but this at least explains that it was originally only implemented for layer-backed views. Obviously the documentation needs to be updated to reflect the change in Snow Leopard. KP On Dec 17, 2010, at 3:19 AM, Rick C. wrote: > I appreciate the help Seth. I'm sure there must be something I'm doing > wrong. Here is a sample project that shows what I'm talking about. The fade > buttons in the project work as expected in Snow but in Leopard no fade > effect. Ok thanks again! > > http://dl.dropbox.com/u/11903800/TestFadeApp.zip > > rc > > > > On Dec 17, 2010, at 3:32 PM, Seth Willits wrote: > >> On Dec 16, 2010, at 8:45 PM, Rick C. wrote: >> >>> Ok I thought that was easy enough but something is still not right. When I >>> code my view to be redrawn at varying alpha and then have my controller >>> send the message when it's time to be redrawn it does not work in Leopard >>> (Snow Leopard again no problem). Now the view is reporting the alpha being >>> changed and the fact that it works in Snow "should" mean I coded it >>> correctly, but again no changes evident in Leopard. If I use setWantsLayer >>> then it works but I'm back to the broken issues again (still funny why no >>> problem on PPC Leopard just Intel). But as for the fading doesn't work on >>> PPC or Intel doing it this way. I must be missing something? What does >>> work is setHidden and I could give up and just have the fade effect on >>> Snow, but it sure would be nice to keep it the same on both. Any thoughts >>> of what maybe I'm doing wrong? Thanks again, >> >> >> I really can't tell from what you've said what would be wrong. There's >> certainly no reason it shouldn't work on Leopard. Make a movie and/or sample >> project/code. >> >> >> >> -- >> Seth Willits >> >> >> >> _______________________________________________ >> >> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) >> >> 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: >> http://lists.apple.com/mailman/options/cocoa-dev/rickcorteza%40gmail.com >> >> This email sent to rickcort...@gmail.com > > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > 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: > http://lists.apple.com/mailman/options/cocoa-dev/kperry%40apple.com > > This email sent to kpe...@apple.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com