Apple added a feature called BridgeSupport in Leopard which provides a way for Cocoa bridges to get interface data about Mac OS X frameworks. http://developer.apple.com/documentation/Cocoa/Conceptual/RubyPythonCocoa/Articles/GenerateFrameworkMetadata.html