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:];

Reply via email to