Testing an NSImageView?
Testing an NSImageView?
- Subject: Testing an NSImageView?
- From: Albert Atkinson <email@hidden>
- Date: Sun, 1 Sep 2002 17:17:21 -0500
Greetings!
How would I go about testing an NSImageView to see if it contains a
certain image? I have tried the following two lines of code:
if ([[well1 image] isEqualTo: @"Off"])
and
if ([[[well1 image] name] isEqualToString: @"Off"])
Neither give any errors when I am compiling, they just don't work when
the code is executed...Any suggestions?
Thanks!
Albert
_______________________________________________
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.