• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Testing an NSImageView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Testing an NSImageView? (From: Albert Atkinson <email@hidden>)

  • Prev by Date: Re: IB Crash
  • Next by Date: Re: Socket in cocoa
  • Previous by thread: Re: Testing an NSImageView?
  • Next by thread: IB Crash
  • Index(es):
    • Date
    • Thread