• 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
Re: (no subject) getting an NSUndoManager in an OCUnit test case
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (no subject) getting an NSUndoManager in an OCUnit test case


  • Subject: Re: (no subject) getting an NSUndoManager in an OCUnit test case
  • From: Ondra Cada <email@hidden>
  • Date: Fri, 28 Apr 2006 22:06:39 +0200

Daniel,

On 28.4.2006, at 21:48, Daniel Steward wrote:

I went back and played with it some more and got it to work, I'm not sure why it's working now when it didn't before but I'll take it. It may be that I failed to #import <Cocoa/Cocoa.h> before but I could swear that I had - maybe I just imported foundation - dunno.

Check for overreleasing, that's the most common cause for a wrong object found where another should be.


Incidentally, it's rather irrelevant what is and what is not imported (in this and similar cases). If interested in details, see the beginning of the thread around

http://www.cocoabuilder.com/archive/message/cocoa/2006/4/9/160617

before it collapsed to a flamewar about a possible design of a Brave New ObjectiveC :)
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc



_______________________________________________ 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
References: 
 >getting an NSUndoManager in an OCUnit test case (From: Daniel Steward <email@hidden>)
 >Re:(no subject) getting an NSUndoManager in an OCUnit test case (From: Daniel Steward <email@hidden>)

  • Prev by Date: Re: Getting a NSView pointer from a nib
  • Next by Date: Re: Re-wrapping cells in an NSMatrix with bindings
  • Previous by thread: Re:(no subject) getting an NSUndoManager in an OCUnit test case
  • Next by thread: added table column won't show because of autosaving
  • Index(es):
    • Date
    • Thread