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 protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]