• 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: IKImageView setImage only works once.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IKImageView setImage only works once.


  • Subject: Re: IKImageView setImage only works once.
  • From: Graham Cox <email@hidden>
  • Date: Thu, 15 Jan 2009 14:13:34 +1100


On 15 Jan 2009, at 2:07 pm, James Trankelson wrote:

It turns out that calling [setImage: imageProperties:] is happiest to
be called from the main thread. Calling it by using
performSelectorOnMainThread: works.


Anything concerned with views or other drawing must be called on the main thread. That goes for any method implemented by any view.

--Graham


_______________________________________________

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


References: 
 >IKImageView setImage only works once. (From: "James Trankelson" <email@hidden>)
 >Re: IKImageView setImage only works once. (From: Graham Cox <email@hidden>)
 >Re: IKImageView setImage only works once. (From: "James Trankelson" <email@hidden>)

  • Prev by Date: ImageAndTextCell + NSOutlineView editing problem
  • Next by Date: Re: What determines VSIZE allocation?
  • Previous by thread: Re: IKImageView setImage only works once.
  • Next by thread: Apply Preferences To Current Window
  • Index(es):
    • Date
    • Thread