On Aug 23, 2013, at 21:13 , Jerry Krinock <je...@ieee.org> wrote:

> Lesson: When documentation says that "Ownership follows the 'Create Rule'" 
> for a parameter, what they really mean to say is that "When applying the 
> 'Create Rule' to this function, proceed as though this function had 'Create' 
> in its name".

That's not quite the right thing to take away. The name indicates the ownership 
policy only of the function return value. Parameters returning objects by 
reference need their own (explicit) documentation of ownership policy, which 
could be different from that of the return value.

>  Or, more succinctly, "You own this object".

Exactly.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to