[Biococoa-dev] BCSequenceView binding problem
schristley at mac.com
Mon Aug 1 18:12:54 EDT 2011
That helps. What is curious is line 8 where it indicates a category (NSSharing) added to NSTextView. I cannot find that category in my Xcode 3 documentation, but I don't have Lion. Is this something that is part of your framework, or maybe something new added in Lion? Maybe there has been a change to the NSText system such that the way NCSequenceView is using it is no longer correct.
Are you able to run the Peptides demo app on Lion? That is a working demo of BCSequenceView.
On Aug 1, 2011, at 8:22 AM, Gregor Hageluken wrote:
> Hi Scott,
> thanks for your reply! I guess it is something like this that you want to see:
> <Proteins2 - -[NSTextView insertText_]_disassembly_0x00007fff8b686d75.s.jpg>
> Unfortunately I have no idea, how to export that to a text file. Does this give you any clue?
> On 1 Aug 2011, at 01:44, Scott Christley wrote:
>> 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:
>>> 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.
>>> 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
>>> +44 1334 467247
>>> Biococoa-dev mailing list
>>> Biococoa-dev at bioinformatics.org
>> Biococoa-dev mailing list
>> Biococoa-dev at bioinformatics.org
> 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
> +44 1334 467247
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Biococoa-dev