Replace IKImageBrowserView's Superclass with NSVisualEffectView

177 Views Asked by At

I looking to make my IKImageBrowserView's background have a blurred background. According to the Apple Documentation, the IKImageBrowserView is based upon NSView. Is it possible to make an IKImageBrowserView inherit from an NSVisualEffectView instead so that I can give the background a blurred look. I assume that to start I must subclass the IKImageView, but I am unsure of where to go next. Could someone please point me in the right direction?

Thanks

1

There are 1 best solutions below

0
On BEST ANSWER

Add the IKImageBrowserView as a subview for an NSVisualEffectsView and make sure the browser view doesn't draw it's background.

The visual effects views are intended to be used in this way, not through class inheritance.