On Thursday, 31 December 2015 at 08:56:07 UTC, Jacob Carlborg
wrote:
D doesn't support Objective-C classes methods yet. But as a
workaround you can look how it's done with the "alloc" method
in the documentation [1]. Declare the method as a non-static
method but use the result from "objc_lookUp
On Thursday, 31 December 2015 at 03:43:58 UTC, Jeremie Pelletier
wrote:
This is from the class method call to NSProcessInfo.processInfo.
I've tried without the selector but get a linker error on
__D4main13NSProcessInfo11processInfoYZC4main13NSProcessInfo.
I'm not sure if it is a bug or if I
Hello, I'm trying out the new interface to Objective-C and I
can't get this to compile:
module main;
extern (Objective-C) {
interface NSObject {
void release() @selector("release");
}
interface NSString : NSObject {
const(char)* UTF8Strin