Skip navigation.
 
mlNSView and array of moveable NSImages
FROM : Fen Soares
DATE : Thu Apr 05 21:01:31 2007

I have read elsewhere on this forum that it is unwise to overlap NSView
subviews within an NSView, as it's not properly supported, or something like
that.

Therefore, I have an NSView into which I am drawing an array of NSImages. I
would like to be able to move them around by dragging the mouse, but feel as
though extensive mouse and z-index visibility testing is overkill, but after
a good deal of surfing cannot see an alternative.

Is there a well trodden path to maintaining this sprite-like behaviour in
Cocoa?

Many thanks,

Fen.

Related mailsAuthorDate
mlNSView and array of moveable NSImages Fen Soares Apr 5, 21:01
mlRe: NSView and array of moveable NSImages Scott Anguish Apr 5, 21:49
mlRe: NSView and array of moveable NSImages I. Savant Apr 5, 22:01
mlRe: NSView and array of moveable NSImages Scott Anguish Apr 5, 22:07
mlRe: NSView and array of moveable NSImages Scott Anguish Apr 5, 22:10
mlRe: NSView and array of moveable NSImages Michael Watson Apr 5, 22:13
mlRe: NSView and array of moveable NSImages Michael Watson Apr 5, 22:14
mlRe: NSView and array of moveable NSImages I. Savant Apr 5, 22:16
mlRe: NSView and array of moveable NSImages Fen Soares Apr 6, 10:10