Re: Newbie Q: equipping an NSDocument subclass with a window controller
Re: Newbie Q: equipping an NSDocument subclass with a window controller
- Subject: Re: Newbie Q: equipping an NSDocument subclass with a window controller
- From: Kirt Cathey <email@hidden>
- Date: Tue, 11 Oct 2005 16:11:24 +0900
Delanoy,
I would create a new project as a Document-based project and look at the
code there.
Regards,
Kirt
On 10/11/05, email@hidden <email@hidden> wrote:
>
> 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
>
--
Kirt Cathey
WorkPapers Development
_______________________________________________
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