On 2013-06-29 15:51:11 +0000, David Gileadi <[email protected]> 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
[email protected]
http://michelf.ca/

Reply via email to