Skip navigation.
 
mlRe: what does -[NSView convertRect:toView:] do with nil view?
FROM : Jens Alfke
DATE : Sat May 17 22:53:27 2008

On 17 May '08, at 1:15 PM, Adam R. Maxwell wrote:

> "If aView is nil, this method instead converts from window base 
> coordinates. Otherwise, both aView and the receiver must belong to 
> the same NSWindow object."


I think that should read "...converts *to* window base coordinates." 
In all the convertTo/From methods, a nil view denotes the window's 
base coordinate system.

—Jens

Related mailsAuthorDate
mlwhat does -[NSView convertRect:toView:] do with nil view? Adam R. Maxwell May 17, 22:15
mlRe: what does -[NSView convertRect:toView:] do with nil view? Jens Alfke May 17, 22:53