Hello List,
Suddenly my Doc-based Cocoa App began to crash always when I closed a
window.
In a long run I tracked it down when myDocument is made the delegate
of NSApplication.
I did the following few steps to reproduce the crash with an empty
App. in Xcode 3.1.3:
New Document-based
On Fri, Jul 24, 2009 at 6:01 PM, Jochen Moellerjo.moel...@online.de wrote:
In a long run I tracked it down when myDocument is made the delegate of
NSApplication.
Why would your document be an NSApplication delegate? What happens
when you have two documents open -- you can't have two
Hi Kyle,
You are right, I did not consider that.
Because NSDocument is a controller object I used it similar to a self-
made AppController.
Thanks for your explanation.
Jochen Moeller
Am 25.07.2009 um 03:26 schrieb Kyle Sluder:
Why would your document be an NSApplication delegate? What