Retired Document
Important: All information in this document is available in NSImageView Class Reference.
Using an Image View to Specify an Image
You can use an image view as an image well, which lets a user specify an image by dragging an image to it. Just use setEditable:
with an argument of YES
. When the user drags an image to the image view, the image view replaces its old image and sends its action message to its target.
If you don’t want to use the image view as an image well, use setEditable:
with an argument of NO
.
Copyright © 2014 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2014-03-10