[MacRuby-devel] linking an NSTextView with my AppDelegate

Brice Ruth bdruth at gmail.com
Sun Sep 18 07:45:00 PDT 2011


Thanks Laurent! I don't have access to the beta, but the workaround works.

On Sep 18, 2011, at 4:02 AM, Laurent Sansonetti
<laurent.sansonetti at gmail.com> wrote:

> Hi Brice,
>
> AFAIK, IB support in Xcode4 was broken for a long time but has been
> fixed in the beta builds. Unless you can't use the beta,
> http://www.macruby.org/trac/ticket/1322 contains a workaround.
>
> Laurent
>
> On Mon, Sep 12, 2011 at 9:37 PM, Brice Ruth <bdruth at gmail.com> wrote:
>> Good afternoon -
>>
>> I saw a thread from August indicating that there was an issue with Xcode 4
>> on Lion w/r/t linking in IB (matched exactly what I'm seeing). I went and
>> grabbed the latest Xcode 3.x and installed it on Lion - I now have the old
>> IB, but I still can't seem to see the attrs defined in my AppDelegate when I
>> try to link the TextView. Not sure what I'm doing wrong ... would anyone
>> mind stepping me through in a little more detail or pointing me to a more
>> detailed walk through? I was using Xcode 4 on Snow Leopard and everything
>> seemed to be working peachy ... I'm now on Lion, working on a new NSTextView
>> and I can't get it to link to anything anymore.
>>
>> I saw one response indicating that you need to tell IB to read the files - I
>> see a "Read class files ..." option in the menu - when I point that at my
>> AppDelegate, I get an error dialog in IB, when I point it at main_rb, I
>> don't get an error, but it still doesn't appear to work.
>>
>> I can't make heads or tails of the XML in the .xib, either - so no hope
>> there.
>>
>> Much obliged,
>>
>> Brice Ruth, FCD
>> Software Engineer, Madison WI
>>
>> _______________________________________________
>> MacRuby-devel mailing list
>> MacRuby-devel at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>
>>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


More information about the MacRuby-devel mailing list