[MacRuby-devel] CFRange (Boxed) elements not accessible
Paul Howson
paul-lists at tdgq.com.au
Sun May 30 21:51:21 PDT 2010
On 31/05/2010, at 11:47 AM, Laurent Sansonetti wrote:
> Hi Paul,
>
> I believe that here the function is typed to return an anonymous struct (likely a bug in the bridgesupport file), so MacRuby won't be able to associate it as an NSRange. You may be able to access location using string_range[0] and length using string_range[1].
>
> Laurent
Thanks Laurent.
That appears not to work:
undefined method `[]' for #<Boxed:0x2006947a0> (NoMethodError)
Is the bridgesupport file produced elsewhere within Apple? (i.e. out of your control)
Any other suggestions for getting around this bug?
Thanks,
Paul
-----------------
Paul Howson
Warwick Qld Australia
More information about the MacRuby-devel
mailing list