Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

IDMah

macrumors 6502
Original poster
May 13, 2011
317
11
I'm getting something weird; If I compile with Instruments on the simulator and iPhone then the undoManager doesn't seem to record / register undo/redo(s).

It's so strange, can't figure it out, but it's the only thing that seems to change.
anyone else have this problem???

thanks
Ian
 
Never mind I'm an idiot !

Bug my code not in instruments.

Xcode does X when I do Y, but Y does not cause X therefore. X is at Fault all on it's own and Y resents that you called Y bad and is suing you !

oops!
 
ugh ! that simple..

Like most problems. Solution was easy. but finding it was HARD.

add to the cardSwapperFunction:
Code:
 if (!undoManager) {
            undoManager = [[NSUndoManager alloc]init];
        }

that was it.. ugh !!! Now if I can Stop SIGABRT to stop!

Later Dudes
Ian
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.