[NSImageView setImage:nil] clarification

2008-05-15 Thread matt . gough
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

Re: [NSImageView setImage:nil] clarification

2008-05-15 Thread Jens Alfke
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: