Re: Pasting NSImage problems
Re: Pasting NSImage problems
- Subject: Re: Pasting NSImage problems
- From: Erik Buck <email@hidden>
- Date: Sun, 14 Oct 2007 20:19:12 -0700 (PDT)
Just subclass NSView directly, add an instance
variable or two to store the images you want to draw,
and implement -drawRect to draw them. NSImageView
isn't doing anything magic, and it sounds like what
you want is sufficiently different from NSImageView
that a there is no point in starting with NSImageView.
If you are drawing multiple images or want to drag
images, you might as well jump in and learn how to do
it. NSImageView is a simple class for use in simple
situations. NSView is the general purpose base class
for drawing and responding to user input.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden