Re: NSArrayController Selection and Managed Object Context Undo

2011-10-17 Thread Richard Somers
SOLVED On Oct 6, 2011, at 8:40 AM, Keary Suska wrote: AFAIK you will need to manage selection restoration semantics yourself, and it may not be easy and it may be fragile. Note also that the preserve and avoid empty selection settings will also have an effect. That being said, the

NSArrayController Selection and Managed Object Context Undo

2011-10-06 Thread Richard Somers
It is very common for Applications to update the selection during undo operations. By default NSArrayController automatically selects objects as they are inserted. This works if objects are added using one of the controller's add or insert methods. If objects are added directly to the

Re: NSArrayController Selection and Managed Object Context Undo

2011-10-06 Thread Keary Suska
On Oct 6, 2011, at 1:14 AM, Richard Somers wrote: It is very common for Applications to update the selection during undo operations. By default NSArrayController automatically selects objects as they are inserted. This works if objects are added using one of the controller's add or

Re: NSArrayController Selection and Managed Object Context Undo

2011-10-06 Thread Quincey Morris
On Oct 6, 2011, at 07:40 , Keary Suska wrote: AFAIK you will need to manage selection restoration semantics yourself, and it may not be easy and it may be fragile. Note also that the preserve and avoid empty selection settings will also have an effect. That being said, the approach would