Re: The more I read about MVC, the more confused I get...
Re: The more I read about MVC, the more confused I get...
- Subject: Re: The more I read about MVC, the more confused I get...
- From: Koen van der Drift <email@hidden>
- Date: Thu, 12 Jun 2003 22:40:13 -0400
At 10:01 PM -0400 6/12/03, Brent Gulanowski wrote:
>
If your model consists only of a single string (or attributed string),
>
you might not need to bother with the overhead of a custom window
>
controller.
>
The message sent to table views (and outline views) is -reloadData. I
>
see we're getting more complex than just some single string.
The model indeed not only consits of a string, but also a couple of other
items, inclduing the NSMutableArray that is used to fill the NSTableView.
Sorry for the confusion.
>
>
>
> Last question. My app also uses several NSDictionaries that are used to
>
> setup the popup-buttons. The model uses data from the dictionary,
>
> depending
>
> on the selection in the popup-button the user made. Which class would
>
> be
>
> the most logical to own these NSDictionaries? At a later stage I want
>
> to
>
> implement user defined entries for the dictionaries.
>
>
Hrm, not sure I understand this one clearly. Unless you are filling the
>
pop-ups programmatically and dynamically,
Yes, that's what I am doing. The user can add 'user-defined' items to the
pop-ups.
thanks for the explanations. I'm less confused now ;)
- Koen.
_______________________________________________
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.