Re: IKImageBrowserView enumerate items in clipView?
Re: IKImageBrowserView enumerate items in clipView?
- Subject: Re: IKImageBrowserView enumerate items in clipView?
- From: Thomas Goossens <email@hidden>
- Date: Fri, 1 Feb 2008 11:28:20 +0100
Hi Michael,
There is no "visibleCellIndexes" method available unfortunately.
You can use [yourImageBrowserView visibleRect] to get the visible
frame in the coordinate system of the image browser view and then
deduce the visible items depending on the "cellSize".
You may also use the method
- (NSRect) itemFrameAtIndex: (NSInteger)index;
to check if a given item is in the visible area.
-- Thomas.
On Feb 1, 2008, at 7:12 AM, Michael Hanna wrote:
I have an IKImageBrowserView contained in an NSScrollView. Is there a
way to determine which IKImageBrowserItems are in the clipped view of
the scroll view? I know there is a way to do this with an
NSTableView...
Michael
_______________________________________________
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
_______________________________________________
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