Newbie Q: equipping an NSDocument subclass with a window controller
Newbie Q: equipping an NSDocument subclass with a window controller
- Subject: Newbie Q: equipping an NSDocument subclass with a window controller
- From: email@hidden
- Date: Tue, 11 Oct 2005 09:05:27 +0200 (CEST)
- Importance: Normal
Hello all,
I'm confused over how to equip an NSDocument subclass with a window
Controller, because there are conflicting requirements :
-it seems that I must put all the IBOutlets and IBActions inside
the window controller class (if I don't, at runtime the console
duly complains that I didn't)
-but then how do I deal with the methods inside my NSDocument
subclass that need to access some of the outlets ? For example, the
window has a table view and the first instruction in the
dataRepresentationOfType method is
[tableView deselectAll : nil ];
and there's no point in making the NSDocument a subclass of its
window controller, right ?
Ewan
_______________________________________________
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