From: Tor L. <tm...@ik...> - 2010-02-24 11:59:24
|
Hi, Trying to understand xmlvm better (especially the Java on the iPhone aspect), I am a bit confused how the source code for what seems to be the same Java classes occurs both in src/xmlvm2objc/compat-lib/objc and in src/xmlvm2objc/compat-lib/java/org/xmlvm/iphone. Could somebody explain to me for instance which org.xmlvm.iphone.CGFont gets used, the one written in Java in src/xmlvm2objc/compat-lib/java/org/xmlvm/iphone/CGFont.java (eventually compiled to a class file and then translated by xmlvm to Objective-C) or the one written in Objective-C in src/xmlvm2objc/compat-lib/objc/org_xmlvm_iphone_CGFont.[hm] ? Or does the code for this class get "merged" from these two implementations, with just those parts that need to call Apple APIs written in Objective-C and the rest in Java? That would actually be quite elegant I guess. --tml |