From gh50 at st-andrews.ac.uk Sun Jul 31 17:22:31 2011 From: gh50 at st-andrews.ac.uk (Gregor Hageluken) Date: Sun, 31 Jul 2011 21:22:31 +0000 Subject: [Biococoa-dev] BCSequenceView binding problem Message-ID: 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 delegate = [self delegate]; The warning is: Semantic Issue: Initializing 'id' with an expression of incompatible type 'id' 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 ----- -------------- next part -------------- An HTML attachment was scrubbed... URL: From schristley at mac.com Sun Jul 31 20:44:16 2011 From: schristley at mac.com (Scott Christley) Date: Sun, 31 Jul 2011 19:44:16 -0500 Subject: [Biococoa-dev] BCSequenceView binding problem In-Reply-To: References: Message-ID: <107B1C0D-D85F-431A-9FB3-7020E34D7031@mac.com> Hi Gregor, Are you able to get a stack trace so we can see the loop and what is calling setString? Scot 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 delegate = [self delegate]; > The warning is: > Semantic Issue: Initializing 'id' with an expression of incompatible type 'id' > 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: