Re: properties attributes misunderstanding
Re: properties attributes misunderstanding
- Subject: Re: properties attributes misunderstanding
- From: Sherm Pendley <email@hidden>
- Date: Wed, 30 Sep 2009 09:12:58 -0400
On Wed, Sep 30, 2009 at 9:02 AM, Colin Howarth <email@hidden> wrote:
>
> I thought the (copy) attribute would mean that
> temporaryPathPointerWhichIsSupposedToBeDifferent would be, well, a copy of
> the original path instance (which conforms to the NSCopying protocol).
That's not what (copy) does. The copy is made when you use "foo.path =
bar" - the setter will make a copy of bar, rather than sending a
retain message to the original.
sherm--
--
Cocoa programming in Perl: http://camelbones.sourceforge.net
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden