[MacRuby-devel] "can't convert Class into String (TypeError)"
Pavlos Vinieratos
pvinis at gmail.com
Wed May 4 08:24:36 PDT 2011
yep..
LLDB should be tweaked to understand MacRuby.
well.. sometime :)
also ->
http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundation/Classes/NSRunLoop_Class/Reference/Reference.html
says here modes arg should be an array. I just saw the question and your
answer, or I would have responded faster.
On Wed, May 4, 2011 at 6:19 PM, Nathaniel Talbott <nathaniel at talbott.ws>wrote:
> On Wed, May 4, 2011 at 10:31, Nathaniel Talbott <nathaniel at talbott.ws>
> wrote:
>
> > Am I doing something stupid here, or is something broken underneath?
>
> To answer my own question, I was doing something stupid. Turns out the
> argument to "modes:" should be an array of strings, not a single
> string.
>
> One thing I learned: if something's not working in MacRuby, it's
> helpful to try it out in native ObjC since the error message there is
> typically a lot more helpful.
>
>
> --
> Nathaniel Talbott
> <:((><
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
--
Pavlos Vinieratos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20110504/4d302a66/attachment.html>
More information about the MacRuby-devel
mailing list