On Jul 8, 2008, at 2:54 AM, Scott Anguish wrote:
I've got a longer answer coming... but
There are two ways to interact with layers.
- making a view layer-backed (that is, the view and its subviews
will use CALayers as a caching mechanism)
- using a view to host layers (inserting your
On 19-Jul-08, at 5:41 PM, Steven W Riggins wrote:
On Jul 8, 2008, at 2:54 AM, Scott Anguish wrote:
I've got a longer answer coming... but
There are two ways to interact with layers.
- making a view layer-backed (that is, the view and its subviews
will use CALayers as a caching
I've got a longer answer coming... but
There are two ways to interact with layers.
- making a view layer-backed (that is, the view and its subviews will
use CALayers as a caching mechanism)
- using a view to host layers (inserting your custom layers into the
layer hierarchy with the view's
It's hard to tell, but if you're using a view that you expect to both
draw its own content, and that you expect to manipulate and interact
directly with the layer (i.e. adding sublayers) you'll have issues.
From the hybrid app docs in Animation Overview
You can use a combination of
I'm suffering from extreme frustration with CALayers. I obviously don't
understand the documentation available and there is a lot that is not
documented, especially since the Views guide has not been updated to include
CALayers. Also, as others have observed, the flipped paremeter in
On 7 Jul '08, at 12:42 PM, Gordon Apple wrote:
One source of confusion is the anchorPoint/Position relation.
Reference
says The position is relative to anchorPoint. Huh? What
anchorPoint? --
the layer in question, or its superLayer? And what does this mean
for the
view's layer in
OK, a little update. Through watching a number of parameters, a lot of
experimentation, and probably blind a** luck, I've managed to get rescaling
to sort of work. However, to do editing of objects (e.g., dragging them
around), I had to call removeAllAnimations. When I change the scale, the
See my comments embedded below...
On Jul 7, 2008, at 3:42 PM, Gordon Apple wrote:
I'm suffering from extreme frustration with CALayers. I
obviously don't
understand the documentation available and there is a lot that is not
documented, especially since the Views guide has not been
Hi Gordon,
I'm not sure what you really want to do is -removeAllAnimations. I
suspect that you probably want to temporarily disable animation within
the scope of a CATransaction. Take a look at the code found here:
Hi Gordon,
'the upcomming book on animation'?
If by that you mean the Core Animation book from Pragmatic Programmers
you can get the PDF now from
http://www.pragprog.com/titles/bdcora
and then the paper when it ships. You get a really good discount on it
if you buy both.
Not sure where
Thanks. That's a good suggestion. I just realized that the thing was
trying to animate and was interfering with my attempts to manually draw. I
saw removeAllAnimations and tried it to solved my immediate problem. I'll
see if I can use what you mentioned instead. I'm not currently using
Yup, Amazon, July 15, $23.07 + shipping. BTW, you might want them to
update the title because it doesn't mention iPhone. Considering the huge
number of iPhone SDKs downloaded, that could be a big draw. I may cancel
Amazon and order the PDF package from your site.
I had considered
12 matches
Mail list logo