[Solved] Undo accidentally broken in Core Data app
[Solved] Undo accidentally broken in Core Data app
- Subject: [Solved] Undo accidentally broken in Core Data app
- From: Ian <email@hidden>
- Date: Thu, 16 Mar 2006 16:05:50 +0000
Hi all,
I knew it would be something simple!
I noticed that the windowWillReturnUndoManager message wasn't being
sent to my app controller which made me realize that I'd unhooked the
delegate connections between my windows and app controller.
Hooked it back up and now I'm undoing and redoing to my hearts
content :)
Hopefully this might help someone in the same silly situation!
Cheers
Ian
On 15 Mar 2006, at 01:02, Ian wrote:
Hello, I have a Core Data based app (single document) that I've
been developing and I've discovered rather late in the day that
Undo doesn't work.
At first I thought that automatic undo was only available to
document based apps but a quick test project confirmed this wasn't
the case.
It appears that somewhere along the development line I've broken undo!
Now, I can get undo back by creating a whole new project (thus
having undo work out of the box) and transferring all of my work
across... luckily it's trivial to copy the data model as I can
option drag entities from one model to another and it all just
works. Fantastic.
But, before I set upon this arduous task (all those outlets and
actions to hook up!) I'm asking if there's anything obvious I've
missed.
I'm using standard entities, not custom classes, and adding,
removing objects is done simply by hooking buttons up to the auto
generated array controllers in IB.
The Undo and Redo menu items are correctly hooked up to First
Responder too.
Could there be something else I've overlooked?
This is my first foray into Core Data and I've had lots of fun
along the way so chances are I unintentionally killed undo
functionality.
Many TIA
Ian
_______________________________________________
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