On 15 Oct 2014, at 11:42 am, Peters, Brandon <[email protected]> wrote:

> Graham,
> 
> I will look into your suggestion. Also, I want the ability to draw the 
> selection box “outside” of the image, similar to what the Preview application 
> allows.


I think there probably isn't one "best" way to do this, it depends on your 
other requirements, and how you've implemented them.

Your content view might include both its content and parts of the background 
that surround it, or you might have different views that create this situation. 
Your content might be zoomable and you don't want the selection to zoom with 
it, or you do; in different cases different solutions will be easiest. A 
separate view that overlays the selection rect might well be a good solution in 
some cases, or maybe a transparent overlay view that covers your entire 
document but only draws the selection rect somewhere inside that. Each approach 
has its merits and drawbacks.

--Graham



_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to