On Feb 23, 2016, at 04:28 , Charles Jenkins <cejw...@gmail.com> wrote:
> 
> My scrollview containing an imageview seems to work just fine: I can scale 
> and crop an image with no problem. But I’m having difficulty getting the 
> desired “crop circle” to hover over the scrollview properly.

It’s not clear to me exactly what strategy you’re attempting. I can see at 
least 4 possibilities:

1. The scroll view is itself a child (or a sibling) of a view that represents 
the circle.

2. The circle view is a child of the scroll view, but not of its content view.

3. The circle view is a child of the scroll view’s content view, but is a 
different view from the image view.

4. The circle view and image view are the same custom view, with gestures to 
pan and scale cause the image to move/resize relative to the circle.

So I’m not sure whether scrolling the scroll view is the UI for positioning the 
image relative to the circle, or is the UI for scrolling. Similarly, I’m not 
sure if scaling from the scroll view is the UI for scaling the image relative 
to the circle, or is just the UI for zooming in.

I’m inclined to think that using the scroll view to position the image relative 
to the circle isn’t semantically correct, but perhaps that’s not what you’re 
doing anyway.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to