DIP43 - D/Objective-C

David Gileadi gileadis at NSPMgmail.com
Sat Jun 29 08:51:11 PDT 2013


On 6/29/13 5:58 AM, Jacob Carlborg wrote:
> I have created a DIP for making D ABI compatible with Objective-C. This
> idea has already been announced, what I've done now is created a proper
> DIP. The DIP is basically Michel Fortin's original designed document
> properly formatted and put next to the other DIP's.
>
> DIP link: http://wiki.dlang.org/DIP43
> Original announcement:
> http://forum.dlang.org/thread/kq7li9$2j9v$1@digitalmars.com

It's probably an obvious observation, but why not use an annotation like:

@selector("insertItemWithObjectValue:atIndex:")
void insertItem(ObjcObject object, NSInteger value);

instead of the DIP's proposal of:

void insertItem(ObjcObject object, NSInteger value) 
[insertItemWithObjectValue:atIndex:];


More information about the Digitalmars-d mailing list