Reputation: 4299
How would I be able to mask an nsimageview in objective c? For example, having an nsimageview with rounded corners.
Upvotes: 0
Views: 597
Reputation: 96323
You don't. If you want to draw an image in a way that NSImageView doesn't support, you'll need to make your own view to draw it.
The only other way would be to mask the image itself before passing it off to the image view.
Upvotes: 1