[BioCocoa-dev] Peptides...
John Timmer
jtimmer at bellatlantic.net
Tue Mar 29 18:31:54 EST 2005
> The only little issue is we are trusting the user will read the docs and not
> mess up with the array. A real NSArray is nice, because it respects
> encapsulation much more.
The other alternative is that, if this method is called, the sequence starts
key/value observing the array. I'm not sure when array operators were
introduced, but if it's 10.2, we could start observing the @count of the
array as soon as somebody got access to it.
That won't help us if anybody starts replacing nucleotides with an amino
acid, but at least allows us to do bounds safety.
JT
_______________________________________________
This mind intentionally left blank
More information about the Biococoa-dev
mailing list