Re: An other silly PrefPane problem
Re: An other silly PrefPane problem
- Subject: Re: An other silly PrefPane problem
- From: Manuel Darveau <email@hidden>
- Date: Thu, 21 Mar 2002 17:02:57 -0500
>
I'd say your best bet would be to have the checkbox targets assigned to
>
methods in your object, which will then store the current state in your
>
object. This better matches the Model-View-Controller (MVC) architecture
>
that Preference Panes are supposed to use, anyway.
Hi
Thanks for your answer... even if I don9t like it ;-)
I think using MVC in something that cannot be reused is overkill. I really
don9t see anyway I could add a view or controller.
But this does not end the problem. I cannot even set the correct state of
the checkbox (according to the preference file) during the load!
The following code does nothing:
- (void)willSelect{
[super willSelect];
[logVarious setState:NSOnState];
}
Any idea?
Manuel Darveau
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.