[Biococoa-dev] BCSequenceView
Peter Schols
sweetcocoa at mac.com
Tue Sep 13 15:24:46 EDT 2011
Hi Gregor,
Congratulations! It's really great to see a shipping app based on BioCocoa!
Best wishes,
Peter
Let your Macs watch your house while you are away
http://orbicule.com/witness
On 13 Sep 2011, at 21:17, Gregor Hageluken wrote:
> Hi,
>
> I finally found a way around that BCSequenceView problem that I posted a while ago. As I said, it always got caught in an infinite loop calling the setString method. This only happened when I bound the value property of the BCSequenceView to my CoreData model.
> Turns out I could just delete the setString method from the BCSequenceView class and everything works just fine.
>
> I have been using the version of my app without the BCSequenceView for a year now and I use it almost every day for my lab work. I figured it might be quite useful and thus it is now on the Mac App Store:
> https://sites.google.com/site/proteinsapp/
>
> Cheers,
> Gregor
>
>
>
>
> On 3 Aug 2011, at 15:53, Koen van der Drift wrote:
>
>> To me, adding frameworks in Xcode sucks... It is not very intuitive,
>> and takes several steps. I will try to build the Peptides app tonight
>> with Xcode 4/Lion and see how it works.
>>
>> Cheers,
>>
>> - Koen.
>>
>> ps, Gregor, when you reply could you reply to the list and not just to
>> Scott, so we can all see your posts? Thanks :)
>>
>>
>> On Tue, Aug 2, 2011 at 6:15 PM, Scott Christley <schristley at mac.com> wrote:
>>> Hi Gregor,
>>> Somebody mentioned this not too long ago on the mailing list, but I forgot
>>> what the solution was though, maybe they will chime in. I tend to always
>>> copy BioCocoa.framework into /Library/Frameworks, so you can see if that
>>> works, otherwise it is something like deleting and re-adding the framework
>>> into the xcode project or something like that.
>>> Scott
>>> On Aug 2, 2011, at 4:55 PM, Gregor Hageluken wrote:
>>>
>>> Hi Scott,
>>> I am trying to compile the Peptides app, but I am having problems with
>>> linking the framework to it. I always get the error below. Before that, I
>>> compiled the framework and added it to the Biococoa samples Xcode project
>>> via 'Link Binaries with library' and I also added a 'copy bundle resources'
>>> build phase. That is why I only added the BCSequenceView class to my app. I
>>> couldn't get the whole Framework linked to it.
>>> However, I tried if the EnzymeX app still works on Lion because I think it
>>> also uses BCSequenceView. And that works without any problems.
>>> Here is the error when I try to compile the Peptides.app:
>>> GNU gdb 6.3.50-20050815 (Apple version gdb-1705) (Fri Jul 1 10:50:06 UTC
>>> 2011)
>>> Copyright 2004 Free Software Foundation, Inc.
>>> GDB is free software, covered by the GNU General Public License, and you are
>>> welcome to change it and/or distribute copies of it under certain
>>> conditions.
>>> Type "show copying" to see the conditions.
>>> There is absolutely no warranty for GDB. Type "show warranty" for details.
>>> This GDB was configured as "x86_64-apple-darwin".tty /dev/ttys000
>>> warning: Unable to read symbols for
>>> @executable_path/../Frameworks/BioCocoa.framework/Versions/A/BioCocoa (file
>>> not found).
>>> warning: Unable to read symbols from "BioCocoa" (not yet mapped into
>>> memory).
>>> [Switching to process 40114 thread 0x0]
>>> dyld: Library not loaded:
>>> @executable_path/../Frameworks/BioCocoa.framework/Versions/A/BioCocoa
>>> Referenced from:
>>> /Users/gha/Library/Developer/Xcode/DerivedData/BioCocoaDemos-edqepdxbqxxpskctncdqmziaeyjr/Build/Products/Debug/Peptides.app/Contents/MacOS/Peptides
>>> Reason: image not found
>>> sharedlibrary apply-load-rules all
>>> (gdb)
>>> Cheers,
>>> Gregor
>>> On 2 Aug 2011, at 00:57, Scott Christley wrote:
>>>
>>> Nope, I highly doubt it as that is a simple casting warning about a protocol
>>> and shouldn't affect runtime behavior.
>>> Scott
>>> On Aug 1, 2011, at 5:50 PM, Gregor Hageluken wrote:
>>>
>>> Hi Scott,
>>> I will let you know if the peptides app works. In the meantime, could it
>>> have anything to do with this warning that I get:
>>> <Proteins2 - BCSequenceView.m.jpg>
>>>
>>> it appears at several places in the BCSequenceView class.
>>> Cheers,
>>> 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
>>> -----
>>>
>>>
>>> -----
>>> 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
>>>
>>>
>>
>> _______________________________________________
>> Biococoa-dev mailing list
>> Biococoa-dev at bioinformatics.org
>> http://www.bioinformatics.org/mailman/listinfo/biococoa-dev
>
> -----
> 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
More information about the Biococoa-dev
mailing list