Closed katsuyoshi closed 9 years ago
With arm64 or x86_64 architecture NSIndexPath#to_a raises exception.
<Error>: *** Terminating app due to uncaught exception 'TypeError', reason: 'expected instance of Pointer of type `Q', got `I' (TypeError)
I think it's not match the byte size between 32bit and 64bit. https://github.com/rubymotion/sugarcube/blob/master/lib/cocoa/sugarcube-foundation/nsindexpath.rb#L4
Fixed in 2.12.1
:+1:
With arm64 or x86_64 architecture NSIndexPath#to_a raises exception.
I think it's not match the byte size between 32bit and 64bit. https://github.com/rubymotion/sugarcube/blob/master/lib/cocoa/sugarcube-foundation/nsindexpath.rb#L4