31 May
2010
31 May
'10
1:19 a.m.
Hello Laurent and team, The following code: string_range = CTLineGetStringRange(line) returns a CFRange, which is a C-structure with two elements: location and length. Attempting to access: string_range.location results in the error message: undefined method `location' for #<Boxed:0x200699fe0> (NoMethodError) (I think a similar error related to CLLocation has been discussed here before.) Is there a way to get around this problem? ----------------- Paul Howson Warwick Qld Australia