D/Objective-C 64bit

Christian Schneider via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Tue Nov 18 00:46:43 PST 2014


> Do you get a compile time error or runtime error?

Compiling using dmd...
source/document.d(79): Error: function 
foundation.array.NSArray.arrayWithObjects (ObjcObject object, 
...) is not callable using argument types (Class, Class, 
typeof(null))

compile time.

hmm, a class object is of course not an ObjcObject, how could it 
be. I think here is a limit to what is possible, this is the darn 
id of Objective-C that makes all this funky convenience possible. 
Actually, it's not a big deal, there is other methods to get what 
you want and the above mentioned function in question is by 
itself just a convenience.



More information about the Digitalmars-d-announce mailing list