Re: Testing an NSImageView?
Re: Testing an NSImageView?
- Subject: Re: Testing an NSImageView?
- From: Ondra Cada <email@hidden>
- Date: Mon, 2 Sep 2002 02:01:25 +0200
On Monday, September 2, 2002, at 01:12 , Albert Atkinson wrote:
I loaded the image using the code:
[well1 setImage: [NSImage imageNamed: @"Off.tiff"]];
Does this help any?
Well, I'd recommend
NSImage *offImage=[NSImage imageNamed:@"Off.tiff"];
...
[well1 setImage:offImage];
...
if ([well1 image]==offImage) ...
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.