[MacRuby-devel] MacRuby development in Xcode

Matt Aimonetti mattaimonetti at gmail.com
Thu Mar 29 00:15:05 PDT 2012


Rick, this is a known issue with Xcode 4.3.x which was moved from a system
folder to an standard application folder. Xcode calls a custom script to
recognize the MacRuby classes and make them available to the devs. Because
the project was moved, the script isn't found so your MacRuby classes
aren't automatically recognized. I thought a workaround including a symlink
was added to the nightly build but that might not be the case.

Watson/whoever worked on that last, could you comment on the status of
things and maybe document the workaround on the wiki please?
https://github.com/macruby/macruby/wiki

Thanks,

- Matt


On Mon, Mar 26, 2012 at 3:37 PM, Rick Lloyd <richard.t.lloyd at gmail.com>wrote:

> I've been trying to learn MacRuby by following " MacRuby - The Definitive
> Guide" and have encountered problems with the code given in Chapter 7.
> My system is running MacOS X 10.7.3 and Xcode Version 4.3.2 which were
> installed on a clean hard drive so there are no remnants of earlier
> software present to confuse the issue.  I'm running MacRuby from the
> nightly build 03/24 which I installed yesterday - I was previously running
> an earlier version.  Because I am unable to distinguish Xcode problems from
> MacRuby (or Definitive Guide) problems I'm posting this problem with both
> communities.
>
> Here is a description of the problem I'm having.
>
> Chapter 7 includes a table, beginning on pg 129, which is intended to
> contain Text Field, Combo Box, and Button cells.  I am unable to create the
> latter two cell types following the instructions given.
>
> In the case of the Combo Box, I can identify the cell as containing an
> NSComboBoxCell using the Custom Class on the identiy tab.  When I switch to
> the attributes tab the cell is still identified as Text Field and so I am
> unable to create the labels for the combo box.  Also, the cell field
> displayed in the table does not have the up/down arrows - no visual cue
> that there is a list of choices available.
>
> The problem with the NSButtonCell is easier to describe as the choice is
> not available through the Custom Class.  If I type it into the field it is
> replaced with the default NSTextCell.
>
> I've loaded the project for Chapter 7 from Matt's Git site and can view
> the proper behavior for both columns when I load it into Xcode.  This code
> also builds (although with three warnings - none related to the table) and
> runs.  This code can be used to demonstrate the expected response.
>
> Any suggestions?
>
> thanks in advance,
> Rick
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20120329/cfa985e7/attachment.html>


More information about the MacRuby-devel mailing list