On Jun 29, 2008, at 11:25 PM, Gordon Apple wrote:
BTW, I tried unsuccessfully to observe the clip view's bounds to
trigger
code to resize the CALayers. Why can't I observe it? I finally set
an
observer on the scale factor in SKTZoomingScrollView.
because the bounds value of views ar
I'm not familiar with SKTZoomingScrollView but I do wonder why its
author wrote it that way, when to get zooming you can simply use the
actual view's -scaleUnitSquareToSize: method (plus frame computation),
and any enclosing clipview/scrollview does the right thing without any
work at all.
Apparently, there is a disconnect between the view's coordinate system
context and that of the contained CALayers. I'm using Sketch's
SKTZoomingScrollView to set the scale factor of my main drawing view. It
works great without CALayers. What is does is it scales the bounds of the
containing