How to make single-row IKImageBrowserView?
How to make single-row IKImageBrowserView?
- Subject: How to make single-row IKImageBrowserView?
- From: John Fox <email@hidden>
- Date: Tue, 10 Nov 2009 14:55:46 -0800
Hello Nice Cocoa People:
I'd like to be able to create an IKImageBrowserView that only displays a single row of items that scrolls horizontally as needed. I didn't find any public API for doing this, even though (from what I understand at least) IKImageBrowserView uses NSCollectionView which has the setMaxiumumNumberOfRows: method. Is there some public way of accessing an IKImageBrowserViews's underlying NSCollectionView instance? Otherwise, is there some trick I'm missing? Someone suggested that I could programmatically set the size of by image browser view based on the cell size and the number of items, which I imagine would work, but I'm wondering if there's an easier way.
Any help greatly appreciated.
Best regards,
John
_______________________________________________
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