Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using a local clone.

dmd.objc

Interfacing with Objective-C.
Authors:

Source objc.d

struct ObjcClassDeclaration;
Contains all data for a class declaration that is needed for the Objective-C integration.
bool isMeta;
true if this class is a metaclass.
bool isExtern;
true if this class is externally defined.
Identifier identifier;
Name of this class.
ClassDeclaration classDeclaration;
The class declaration this belongs to.
ClassDeclaration metaclass;
The metaclass of this class.
FuncDeclaration[] methodList;
List of non-inherited methods.
struct ObjcFuncDeclaration;
Contains all data for a function declaration that is needed for the Objective-C integration.
ObjcSelector* selector;
The method selector (member functions only).
VarDeclaration selectorParameter;
The implicit selector parameter.
bool isOptional;
true if this function declaration is declared optional.