Scott Thompson
easco****@mac*****
Thu Apr 17 05:48:34 JST 2008
After poking at the require_framework changes for a while, it became apparent that there is a reason they are implemented in 'pure ruby' (i.e. without relying on the Objective-C bridge). require_framework is called to help set up the bridge (and the CoreFoundation/Foundation frameworks) so it cannot depend on the Objective-C bridge for it's implementation. That would imply that to make the kinds of changes I want to make, I will have to implement the new mechanism through the ruby extensions mechanism in native Objective-C. (in looking at the primitive in MacRuby, I note it is implemented the same way there). This begs a very simple question, where should that code live? It looks like the "BridgeSupport.m" file might be a good choice. Are there any objections to putting an native implementation of require_framework in there? Scott