On Oct 27, 2010, at 3:30 PM, vincent habchi wrote:

> Small question: I have a NSArrayController managing a Core data entity array. 
> I want to alter the selection via -setSelectionIndex, and it fails (the index 
> won't change). The documentation is (also) rather terse on the possible 
> causes for such a failure – I do no edition, I just want to pick up an entity 
> through a dialog. Does someone have a little experience with these cases? 
> Especially, how to dig up to the point responsible for the denial?

Do you mean the method is returning NO, or you just don't notice a selection 
change? Note that if a table view is bound to the controller, its delegate must 
approve the selection change as well.

HTH,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to