It will fail and return NO if there's an editor registered with the controller 
that fails to commit editing. e.g. you're editing some text in a table bound to 
the controller, and that text fails validation.

On 27 Oct 2010, at 22:30, vincent habchi wrote:

> Hi there,
> sorry for being rather terse these days, I am conscious I tend to tap too 
> much and help too few.
> 
> 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?
> 
> Thanks a lot,
> Vincent
> 
> _______________________________________________
> 
> 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/cocoadev%40mikeabdullah.net
> 
> This email sent to [email protected]

_______________________________________________

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]

Reply via email to