On Apr 3, 2013, at 00:16 , Markus Spoettl <ms_li...@shiftoption.com> wrote:

> bounds and center are correct at all times. However, I need the view's frame 
> in screen coordinates because I'm positioning an independent overlay window, 
> not a subview. Since the transformation messes with -convertRect:from/toView: 
> in my view hierarchy, I have no idea how to get to the frame I'm interested 
> in. Any ideas?


It might be easier just not to work with the frame at all. I suspect you can 
use 'convertPoint:…' on the center to get to the coordinate system you need for 
the attached view, then use that and the bounds to compute the attached view's 
center and bounds.

_______________________________________________

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