[Biococoa-dev] BCSequenceView

Koen van der Drift kvddrift at earthlink.net
Tue Mar 1 18:46:26 EST 2005


On Feb 25, 2005, at 9:05 PM, Koen van der Drift wrote:

> So I added the textDidChange method directly to BCSequenceView, 
> although this catually is a method for the delegate. Indeed the 
> whitespaces are now added and updated when editing the text. The only 
> problem now is that I cannot put the cursor in the middle of the text. 
> New characters are only added to the end of the text.
>
>
> Any ideas what might be going on and how to fix it without using a 
> delegate object?
>

Actually, maybe I should make code to use a delegate object with 
BCSequenceView. The delegate can then inform the view that the sequence 
has been changed, send the new NSString to the view, and let the view 
display it. What do you guys think?


- Koen.




More information about the Biococoa-dev mailing list