• 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: An other silly PrefPane problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: An other silly PrefPane problem
      • From: Steve Bennett <email@hidden>
    • Re: An other silly PrefPane problem
      • From: Finlay Dobbie <email@hidden>
References: 
 >Re: An other silly PrefPane problem (From: Steve Bennett <email@hidden>)

  • Prev by Date: Re: Image missing in Palette?
  • Next by Date: Re: An other silly PrefPane problem
  • Previous by thread: Re: An other silly PrefPane problem
  • Next by thread: Re: An other silly PrefPane problem
  • Index(es):
    • Date
    • Thread