From: <ki...@us...> - 2014-06-08 03:38:55
|
Revision: 2531 http://sourceforge.net/p/rubycocoa/svn/2531 Author: kimuraw Date: 2014-06-08 03:38:53 +0000 (Sun, 08 Jun 2014) Log Message: ----------- Add a function OSX.ns_import_all() OSX.ns_import_all() invokes ns_import for all Objective-C classes. OSX.require_frakework invokes ns_import_all implicitly. this change allows to work the following code on ruby-2.x. OSX.require_framework 'MapKit' module OSX class MKAnnotation # extend Objective-C class with in code end end RubyCocoa enables this by "osx/objc/oc_import_openclass.rb", but this feature does not work on ruby-2.x. Modified Paths: -------------- trunk/src/ChangeLog trunk/src/framework/src/ruby/osx/objc/oc_import.rb This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |