FROM : matt.gough
DATE : Thu May 15 12:37:18 2008
It isn't explicitly mentioning anywhere, but is:
[someImageView setImage:nil];
the correct way to have an empty image view.
Often the Appkit documentation calls out the validity of nil
parameters (e.g [NSActionCell setImage:] and [NSLevelIndicator
setImage:]), so the lack of such a statement in NSImageView got me
worried.
Thanks
Matt
DATE : Thu May 15 12:37:18 2008
It isn't explicitly mentioning anywhere, but is:
[someImageView setImage:nil];
the correct way to have an empty image view.
Often the Appkit documentation calls out the validity of nil
parameters (e.g [NSActionCell setImage:] and [NSLevelIndicator
setImage:]), so the lack of such a statement in NSImageView got me
worried.
Thanks
Matt
| Related mails | Author | Date |
|---|---|---|
| matt.gough | May 15, 12:37 | |
| Jens Alfke | May 15, 17:06 |






Cocoa mail archive

