DIP43 - D/Objective-C

Michel Fortin michel.fortin at michelf.ca
Sat Jun 29 09:31:48 PDT 2013


On 2013-06-29 15:51:11 +0000, David Gileadi <gileadis at NSPMgmail.com> said:

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

This document and its experimental implementation predate UDAs. While I 
do like this syntax, I agree it'd make more sense to use an attribute 
now.

-- 
Michel Fortin
michel.fortin at michelf.ca
http://michelf.ca/



More information about the Digitalmars-d mailing list