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
On 15 May '08, at 3:37 AM, [EMAIL PROTECTED] wrote:
It isn't explicitly mentioning anywhere, but is:
[someImageView setImage:nil];
the correct way to have an empty image view.
Yes. Basically, all content-displaying views let the content object be
nil.
—Jens
smime.p7s
Description: