[NSImageView setImage:nil] clarification
[NSImageView setImage:nil] clarification
- Subject: [NSImageView setImage:nil] clarification
- From: email@hidden
- Date: Thu, 15 May 2008 12:37:18 +0200
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 (email@hidden)
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:
This email sent to email@hidden