• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: properties attributes misunderstanding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >properties attributes misunderstanding (From: Colin Howarth <email@hidden>)

  • Prev by Date: properties attributes misunderstanding
  • Next by Date: Re: properties attributes misunderstanding
  • Previous by thread: properties attributes misunderstanding
  • Next by thread: Re: properties attributes misunderstanding
  • Index(es):
    • Date
    • Thread