[Biococoa-dev] More on BCSymbolSets

Koen van der Drift kvddrift at earthlink.net
Fri Mar 4 19:38:29 EST 2005


On Mar 4, 2005, at 9:45 AM, Charles PARNOT wrote:

>> Hmm, not sure what you mean - I didn't see anything in the code. 
>> Maybe my Xcode - cvs is screwed up again :(
>
> code posted on the list in a previous email
>

I must have missed that the first time.

Your code looks good, although you made:

- (id)initWithSymbolArray:(NSArray *)anArray symbolSet:(BCSymbolSet 
*)aSet;

not

- (id)initWithString:(NSString *)aString symbolSet:(BCSymbolSet *)aSet;

the designated initializer like you do now.

Probably the array-version is a better idea, because that is already 
closer to the BCSequence than just a string. Otherwise you have an 
array, then make a string, and then make an array again, which is a 
waste of time (and yes, I am contradicting a previous message from me 
where I stated the opposite :)


As far as I am concerned you can commit this code.

- Koen.




More information about the Biococoa-dev mailing list