IKImageBrowserView
IKImageBrowserView
- Subject: IKImageBrowserView
- From: Client netplus <email@hidden>
- Date: Sat, 27 Oct 2007 17:59:40 +0200
I recently tried to play with the IKImageBrowserView. I wasn't able to set the 2 properties
allowsEmptySelection and allowsMultipleSelection using IB3, both to no, but anyway i could do
it directyly into the code. The problem was that i could find a way to select the first cell of my
browserView directly after starting my application.
I put this code into my awakeFromNib of my application Controller:
[houseImageBrowser setSelectionIndexes:[NSIndexSet indexSetWithIndex:0]
byExtendingSelection:NO];
But this seems to set a nil index to the browser view:
"Browser selection changed to 2147483647".
If put a button in my window and I implement the same code in my button method the first cell
of my IKImageBrowserView will be selected.
I should be something related to the awakeFromNib from the appliction Controller, and I
probably try to select a cell who is not yet created.
If someone could tell me a good way to solve this ???
_______________________________________________
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