KVO Code Breaks Undo

2009-03-28 Thread Richard Somers
I have core data document based application with a custom opengl layer- hosting view. Everything works except when objects are added or removed from the managed object model the view is not redrawn. So I add the following to code to redraw the view but then automatic undo is broken. //

Re: KVO Code Breaks Undo

2009-03-28 Thread Ken Thomases
On Mar 28, 2009, at 7:33 AM, Richard Somers wrote: I have core data document based application with a custom opengl layer-hosting view. Everything works except when objects are added or removed from the managed object model the view is not redrawn. So I add the following to code to redraw

Re: KVO Code Breaks Undo

2009-03-28 Thread Tommy Nordgren
On Mar 28, 2009, at 1:33 PM, Richard Somers wrote: I have core data document based application with a custom opengl layer-hosting view. Everything works except when objects are added or removed from the managed object model the view is not redrawn. So I add the following to code to redraw