• 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
Animating .gif in NSImageView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Animating .gif in NSImageView


  • Subject: Animating .gif in NSImageView
  • From: led248 <email@hidden>
  • Date: Wed, 29 Apr 2009 21:24:14 -0700

In Interface Builder, I dragged an "Image Well" (NSImageView) onto my window and checked the "Animates" and "Editable" attribute flags.

When running my app, I can drag a .gif into the Image Well and it works great -- the animated gif animates.

If I cut and paste back into the same Image Well, the image appears but there is no animation.

Same thing happens when I archive/unarchive -- the first frame appears, but no animation.

So drop works, paste and unarchive don't. Which has me a bit baffled. Clearly, NSImageView has the ability to display animated gif files, because it is doing so for my dropped files. But not for files loaded by other means.

Is there some method I need to invoke after pasting or unarchiving that will cause the gif animation to start?

Would really appreciate any ideas or solutions!

_______________________________________________

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


  • Prev by Date: Re: Repositioning the Field Editor
  • Next by Date: NSURLConnection unhappiness
  • Previous by thread: Re: Changing a custom field editor's position
  • Next by thread: NSURLConnection unhappiness
  • Index(es):
    • Date
    • Thread