I've made a bit of progress on this, it's the right way up now, at the main
layer redraws just fine, however, sublayers disappear when I scroll (they
reappear when you resize the window, as this is presumably triggering a redraw).
I've put a test app here...
Hi,
I am not sure whether this is relevant for your problem, but it might
be useful to know that the content view of a scroll view gets a
CATiledLayer instead of a normal CALayer via [setWantsLayer:YES].
The reasoning is that the content view can be potentially large and
easily exceed
Hi there!
I've been tearing my hair out trying to figure this out, so hopefully someone
will take pity!
Basicaly, I've a CALayer-backed custom view, which works pretty great, I use a
transform to flip it, and it works fine, the problem happens when I put it in a
NSScrollView
If I put it
As I stated in my recent post, I implemented my own transform to flip
the layer since nothing else worked. That worked, and my view is in a
scrolling window. What I'm currently having trouble with is scaling the
view. My window is similar to that in Sketch, with a popup scale factor in
the
On Jun 19, 2008, at 5:14 , Gordon Apple wrote:
I've tried a variety of things including regenerating
the CALayers, but so far haven't been able to get the layers to
scale to the
coordinates of the underlying view. Again, I'll probably figure it
out
eventually, but this stuff just shouldn't