I am trying to make my application's window behave like the Application 
Switcher behaves in Yosemite (open Application Switcher by pressing 
Command-Tab).

There is one behavior I can't figure out. The Application Switcher's window 
background is vibrant, and so is the darker rectangle that marks the 
application to be made active, but the icon images are not vibrant.

In my application, I can make the window background and the darker selection 
rectangle vibrant, but the icon image is vibrant, too. That is, blurred images 
and colors behind my window show through the icon image, as well as showing 
through the window background and the selection rectangle.

From the limited discussion in the AppKit Release Note and the WWWDC 220 video, 
I gather that I could accomplish this by setting the NSVisualEffectView's 
maskImage property to encompass everything in my window except the icon image, 
but I have no idea how to create an inverse mask image.

If you're curious about what kind of application would do this, I am updating 
my Applidude application for Yosemite: <http://pfiddlesoft.com/pfiddles>.

-- 

Bill Cheeseman - [email protected]

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to