[Biococoa-dev] BCSequenceView binding problem

Scott Christley schristley at mac.com
Sun Jul 31 20:44:16 EDT 2011

Hi Gregor,

Are you able to get a stack trace so we can see the loop and what is calling setString?


On Jul 31, 2011, at 4:22 PM, Gregor Hageluken wrote:

> Hi,
> I am trying to bind the 'value' property of a BCSequenceView to a TreeController that is again bound to my CoreData model. When I start my app it gets stuck in an infinite loop in the setString: method of BCSequenceView.
> I did not change anything in the code of the class.
> The app works fine when I remove this binding or when I bind it to a normal TextView instead.
> Any idea what's wrong? I am not using the whole BioCocoa framework by the way, just the BCSequenceView class and the BCAppKitDefines.h file.
> Also I get a couple of compiler warnings for this line of code:
> id <BCSequenceViewDelegate> delegate = [self delegate];
> The warning is: 
> Semantic Issue: Initializing 'id<BCSequenceViewDelegate>' with an expression of incompatible type 'id<NSTextViewDelegate>'
> Can I do something about that?
> I am using Xcode 4.1 on OSX Lion.
> Thanks,
> Gregor
> -----
> Gregor Hagelueken
> Postdoctoral Research Fellow, Naismith Group
> Biomedical Sciences Research Complex
> University of St Andrews
> Purdie Building, North Haugh, St Andrews, Fife, KY16 9ST
> Email: gh50 at st-andrews.ac.uk
> Tel: 
> +44 1334 467247
> -----
> _______________________________________________
> Biococoa-dev mailing list
> Biococoa-dev at bioinformatics.org
> http://www.bioinformatics.org/mailman/listinfo/biococoa-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.bioinformatics.org/pipermail/biococoa-dev/attachments/20110731/d0b13131/attachment.html>

More information about the Biococoa-dev mailing list