[Biococoa-dev] Caching the NSArray of BCSymbol

Charles Parnot charles.parnot at gmail.com
Sat Jul 9 02:28:15 EDT 2005


On Jul 8, 2005, at 9:39 PM, Koen van der Drift wrote:

>
> On Jul 9, 2005, at 12:19 AM, Charles Parnot wrote:
>
>
>>> Hmm, although certainly nice to have a link between a view and  
>>> ultimately the sequence, this is the task of a controller class,  
>>> not the model... The model shouldn't know/care of the view. It  
>>> might be nice, if we add controllers to the framework that do  
>>> this though..
>>> Alex
>>>
>>
>> I am not sure what you both mean. Just to add to the confusion:  
>> BCSequence can have a delegate and still be a model, no?
>>
>>
>
> Why not let BCSequence post notifications when something has  
> changed? This way it is ot conected to a view, but and any object  
> (including a controller or a view) can respond to it.
>
>
> - Koen.

Yes, the standard in Cocoa seems to have both a delegate and  
accompanying notifications, which the delegate always get without  
subscribing.

charles

--
Xgrid-at-Stanford
Help science move fast forward:
http://cmgm.stanford.edu/~cparnot/xgrid-stanford

Charles Parnot
charles.parnot at gmail.com






More information about the Biococoa-dev mailing list