From: Panayotis K. <pan...@pa...> - 2011-09-01 12:28:38
|
On 1 Σεπ 2011, at 1:48 μ.μ., Markus Heberling wrote: > Hi, > > Currently NSObject is the superclass of CGImage/CGContext/CG... and the like in the Java Compatibility Layer. In the "real world" this is not the case. CG... are no ObjectiveC objects altogether. You are right - this is my fault. First, in the Java context: CG* should not be NSObject derivative. It is still an Object derivative though. In native context: CG* *is* an Object since it is re-implemented here and is a wrapper for native CG* references. > Wouldn't it be better to remove the NSObject from the class hierarchy in java, too? In C you mean? NSObject in Java context *is* an Object, and as such, shouldn't NSObject and Object stay synonyms? |