On Sat, Mar 14, 2009 at 6:11 AM, Paul Sanders <p.sand...@dsl.pipex.com> wrote: >> If Apple later on wants to change how it works >> internally so that the function returns a temporary object instead, >> well, too bad, can't! > > Well, that's patently untrue. It can just return a temporary object with a > retain count of 1.
No, it can't. I specified a Get function, where convention specifies that the caller does not own it. Even if Apple were willing to break with convention, such a change would cause every existing client of the API to start leaking. Mike _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com