• 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
CABasicAnimation in a view that's covered by another?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CABasicAnimation in a view that's covered by another?


  • Subject: CABasicAnimation in a view that's covered by another?
  • From: "Eric E. Dolecki" <email@hidden>
  • Date: Tue, 22 Nov 2016 15:26:55 +0000

I have a cross-fading album art thing happening. When I can see the
imageview it works fine, if it's totally covered by another view (a panel I
slide up), it seems to not change. Is this a known thing? Doesn't seem
right - I am trying to track down other related things to see.

                myfade = CABasicAnimation(keyPath: "contents")
                myfade.duration = 0.4
                myfade.fromValue = largeAlbumCover.image!.cgImage
                myfade.toValue = artImage?.cgImage
                myfade.delegate = self
                largeAlbumCover.layer.add(myfade, forKey: "animateContents")
                largeAlbumCover.image = artImage

Thanks,
Eric
_______________________________________________

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


  • Follow-Ups:
    • Re: CABasicAnimation in a view that's covered by another?
      • From: David Duncan <email@hidden>
  • Prev by Date: Re: Flipped print previews
  • Next by Date: Re: NSComboBoxCell subclass pointers?
  • Previous by thread: Re: AutoSave for Windows
  • Next by thread: Re: CABasicAnimation in a view that's covered by another?
  • Index(es):
    • Date
    • Thread