cocoa
cocoa copied to clipboard
Ruby FFI bindings for the OSX Cocoa API
This pull request fixes the following warnings. > /usr/local/lib/ruby/gems/2.7.0/gems/cocoa-0.1.6/lib/cocoa/objc/method_def.rb:154: warning: constant ::Fixnum is deprecated > /usr/local/lib/ruby/gems/2.7.0/gems/cocoa-0.1.6/lib/cocoa/objc/method_def.rb:154: warning: constant ::Fixnum is deprecated > /usr/local/lib/ruby/gems/2.7.0/gems/cocoa-0.1.6/lib/cocoa/objc/method_def.rb:154: warning: constant ::Bignum is deprecated
Cocoa::NSURLVolumeSupportsCaseSensitiveNamesKey returns a string and filesystem :forKey => Cocoa::NSURLVolumeSupportsCaseSensitiveNamesKey returns hell trying to do in ruby this (obj C): NSError *thiserror; id thisout; NSURL *filesystem = [NSURL fileURLWithPath:@"/" isDirectory:true]; bool...
This is perhaps an issue for the https://github.com/ffi/ffi project, I was unable to successfully recreate the code only working with the `ffi` gem though. The issue affects at least macOS...