Re: IKImageBrowserView with NSArrayController bindings
Re: IKImageBrowserView with NSArrayController bindings
- Subject: Re: IKImageBrowserView with NSArrayController bindings
- From: Quincey Morris <email@hidden>
- Date: Thu, 13 Nov 2008 02:10:16 -0800
On Nov 13, 2008, at 01:29, Florian Soenens wrote:
- (void) imageBrowserSelectionDidChange:(IKImageBrowserView *)
aBrowser
{
NSLog([[arrayController selectedIndex] description]);
}
The problem is that the NSArrayController always logs the same
index, no mather what item i select in de BrowserView.
I assumed that it would always reflect the currently selected index.
NSArrayController doesn't respond to 'selectedIndex' -- I think you
mean 'selectionIndex'.
You should have got a compilation error for this. IAC, the index is an
integer, not an object, so you couldn't have usefully sent a
'description' message to it either.
_______________________________________________
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