UFO
UFO

Reputation: 219

Make the viewController's view a NSVisualEffectsView

I create a new viewController on storyboard. I want that viewController's view to shown thru the window. So, as far as I understood, I have to transform that view to a NSVisualEffects view.

How do I do that using interface builder?

I already have a lot of objects on that view added using interface builder, so, it will be nice to solve that using interface builder.

thanks

Upvotes: 0

Views: 623

Answers (1)

Daniel Farrell
Daniel Farrell

Reputation: 9740

1) You can delete the view in the outline view and then add a visual effects view as the view controller's view.

2) Add a effects view as the subview of the view.

3) Change the class type of the view controller's view in the inspector window.

Options one and two will let you see the effects view in Xcode. I would recommend using option 3.

Upvotes: 0

Related Questions