• 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: Clipping a CAGradientLayer with a duplicated CAShapeLayer (don't)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Clipping a CAGradientLayer with a duplicated CAShapeLayer (don't)


  • Subject: Re: Clipping a CAGradientLayer with a duplicated CAShapeLayer (don't)
  • From: David Duncan <email@hidden>
  • Date: Thu, 09 Feb 2012 14:30:06 -0800

On Feb 9, 2012, at 1:37 PM, Fritz Anderson wrote:

> On 9 Feb 2012, at 1:25 PM, Kyle Sluder wrote:
>
>> The CALayer documentation makes it quite clear that you should never,
>> ever do this:
>
> Hence the last word of the subject of this thread.


Perhaps, but I believe that our point is that -initWithLayer: is not a method to use to duplicate a layer, its a method to create a shadow layer (which is something strictly for Core Animation's usage). If you duplicated a layer (by calling -init and setting all the appropriate properties) then there is no reason why it shouldn't work.
--
David Duncan


_______________________________________________

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: Clipping a CAGradientLayer with a duplicated CAShapeLayer (don't)
      • From: Fritz Anderson <email@hidden>
References: 
 >Clipping a CAGradientLayer with a duplicated CAShapeLayer (don't) (From: Fritz Anderson <email@hidden>)
 >Re: Clipping a CAGradientLayer with a duplicated CAShapeLayer (don't) (From: Kyle Sluder <email@hidden>)
 >Re: Clipping a CAGradientLayer with a duplicated CAShapeLayer (don't) (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: Can I somehow encourage the deallocation of a dismissed view controller?
  • Next by Date: Re: Clipping a CAGradientLayer with a duplicated CAShapeLayer (don't)
  • Previous by thread: Re: Clipping a CAGradientLayer with a duplicated CAShapeLayer (don't)
  • Next by thread: Re: Clipping a CAGradientLayer with a duplicated CAShapeLayer (don't)
  • Index(es):
    • Date
    • Thread