I would like to apply the dark blur effect in a imageView for a Mac App, like you do it in iOS with the UIBlurEffect, how you do it in Cocoa OS X? What I want to achieve is the equivalent in OS X of this iOS Code:
var blurEffect = UIBlurEffect(style: UIBlurEffectStyle.Dark)
var blurEffectView = UIVisualEffectView(effect: blurEffect)
blurEffectView.frame = view.bounds
backgroundImageView.addSubview(blurEffectView)
(This example is from "Beginning iOS 8 Programming with Swift" by Simon Ng)