• 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: Core Animation animations stop prematurely at random
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Animation animations stop prematurely at random


  • Subject: Re: Core Animation animations stop prematurely at random
  • From: Keith Duncan <email@hidden>
  • Date: Tue, 17 May 2011 18:21:25 +0100

> The basic problem comes about when a view in the nib has wantsLayer=NO, but the view itself always wants to be layer backed. If you setWantsLayer:YES inside of -initWithFrame:, then by the time you get to -awakeFromNib wantsLayer=NO again

Would there be any issue with overriding -setWantsLayer: to drop the [view setWantsLayer:NO] invocation, only allowing [view setWantsLayer:YES] to pass through to the NSView implementation?

thanks,
Keith


_______________________________________________

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: Core Animation animations stop prematurely at random
      • From: Kyle Sluder <email@hidden>
References: 
 >Core Animation animations stop prematurely at random (From: Bill Cheeseman <email@hidden>)
 >Re: Core Animation animations stop prematurely at random (From: Bill Cheeseman <email@hidden>)
 >Re: Core Animation animations stop prematurely at random (From: David Duncan <email@hidden>)
 >Re: Core Animation animations stop prematurely at random (From: Bill Cheeseman <email@hidden>)
 >Re: Core Animation animations stop prematurely at random (From: David Duncan <email@hidden>)

  • Prev by Date: Re: Why RunLoop?
  • Next by Date: Re: Core Animation animations stop prematurely at random
  • Previous by thread: Re: Core Animation animations stop prematurely at random
  • Next by thread: Re: Core Animation animations stop prematurely at random
  • Index(es):
    • Date
    • Thread