• 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: NSImageView doesn't change with setImage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSImageView doesn't change with setImage


  • Subject: Re: NSImageView doesn't change with setImage
  • From: "John C. Randolph" <email@hidden>
  • Date: Thu, 11 Aug 2005 07:12:58 -0700


On Aug 11, 2005, at 4:38 AM, email@hidden wrote:

I need change the image of an NSImageView with setImage:

[imageView setImage:[NSImage imageNamed:@"theImage"]];

why?

Probably because you didn't send [imageView setNeedsDisplay:YES];

-jcr


John C. Randolph <email@hidden> (408) 914-0013 Roaming Cocoa Engineer, Available for your projects at great Expense and Inconvenience.



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >NSImageView doesn't change with setImage (From: email@hidden)

  • Prev by Date: Re: Distributed Objects between cats
  • Next by Date: Key-Observing, change, and NSNull
  • Previous by thread: NSImageView doesn't change with setImage
  • Next by thread: Change cursor on a Custom NSView
  • Index(es):
    • Date
    • Thread