Re: Need functionality of CAShapeLayer in 10.5

2010-09-21 Thread David Duncan
On Sep 21, 2010, at 6:14 PM, Kenneth Baxter wrote: > Just a quick question about this - I notice that you say to use a timer which > I presume you say deliberately rather than using the automatic needsDisplay > and recalculating during display. The automatic -needsDisplayOnBoundsChange will cau

Re: Need functionality of CAShapeLayer in 10.5

2010-09-21 Thread Kenneth Baxter
Just a quick question about this - I notice that you say to use a timer which I presume you say deliberately rather than using the automatic needsDisplay and recalculating during display. The way I was thinking of doing it would have resulted in the recalculation of the path during the drawing

Re: Need functionality of CAShapeLayer in 10.5

2010-09-21 Thread Kenneth Baxter
OK, thanks for that David - I'll take that route then. On 22 Sep, 2010,at 10:32 AM, David Duncan wrote: On Sep 21, 2010, at 5:02 PM, Kenneth Baxter wrote: Any suggestions would be most welcome. With a requirement of 10.5, about all you can do is call -setNeedsDisplay from a timer to imple

Re: Need functionality of CAShapeLayer in 10.5

2010-09-21 Thread David Duncan
On Sep 21, 2010, at 5:02 PM, Kenneth Baxter wrote: > Any suggestions would be most welcome. With a requirement of 10.5, about all you can do is call -setNeedsDisplay from a timer to implement the animation yourself, unless your path can be animated well enough by just stretching/squeezing the

Need functionality of CAShapeLayer in 10.5

2010-09-21 Thread Kenneth Baxter
Hi all, I had gone through my initial design for a project I am working on and one part of it really needs to use CAShapeLayer, but I just realized that it's only available in 10.6+, and I have to support 10.5. Essentially I have two layers that have a bezier path drawn between them. The two l