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
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]