Clang adds a keyword instancetype that, as far as I can see, replaces id as a return type in -alloc and init.

Is there a benefit to using instancetype instead of id?

5 Answers
5

Leave a Reply

Your email address will not be published. Required fields are marked *