NSArrayController selection issue
NSArrayController selection issue
- Subject: NSArrayController selection issue
- From: zeno <email@hidden>
- Date: Mon, 22 Aug 2005 11:08:24 +0200
When executing:
if ([myArrController canSelectNext]) {
NSLog(@"selected row index before: %u", [myArrController selectionIndex]);
[myArrController selectNext:self];
NSLog(@"selected row index after: %u", [myArrController selectionIndex]);
}
...on the console I get:
[Session started at 2005-08-22 10:51:49 +0200.]
2005-08-22 10:51:53.865 TestApp[938] selected row index before: 1
2005-08-22 10:51:53.866 TestApp[938] selected row index after: 1
Can anybody explain why "selected row index after" is not 2? (in the
UI the third row of the table (index=2) is actually selected)...
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden