• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
(no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)


  • Subject: (no subject)
  • From: Daniel Steward <email@hidden>
  • Date: Fri, 28 Apr 2006 09:06:10 -0600

I'm trying to add some test cases to look at undo/redo in my OCUnit tests. I don't want to start the application to do this, I just want to test the data model. What I've discovered is that using [[NSUndoManager alloc] init] in the context of a running application produces the desired NSUndoManager. The same code running in a test case will produce an NSDictionary.

I'd be most gratefull for any suggestions on how to get a working NSUndoManager in my test case. It is in the foundation framework after all - it should be usable anyplace. I've searched all over the place for answers with no luck.

Dan
_______________________________________________
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


  • Follow-Ups:
    • Re: (no subject)
      • From: Ondra Cada <email@hidden>
  • Prev by Date: controlling "SAVE" button in NSSavePanel
  • Next by Date: What kind of network protocol used by "Shared Printer/Fax"
  • Previous by thread: (no subject)
  • Next by thread: Re: (no subject)
  • Index(es):
    • Date
    • Thread