Re: NSScrollView
Re: NSScrollView
- Subject: Re: NSScrollView
- From: Mark T <email@hidden>
- Date: Tue, 19 Apr 2005 21:12:32 -0400
On Apr 19, 2005, at 2:39 PM, Brian O'Brien wrote:
Yes.. I think this helps.. :)
I just wanted to make sure I wasn't going down the wrong path.. (Which
I've done in the past)
Right Now I have an NSView with N by M (rows/cols) subviews...
I want to be able to scroll around and see a portion of these N by M
subviews...
I guess its my responsability to manage the displaying of these image
based on the slider positions.. Correct?
It would be much more efficient to use NSImageCells instead of
NSImageViews for the images within the main view. In your case, I'd
recommend subclassing NSMatrix for your main view, putting the subclass
into an NSScrollView, and using plain NSImageCells in your NSMatrix
subclass. Unless you're planning to do something special with each
image, then subclass NSImageCell.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden