• 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: copyWithZone - if anyone could explain this to me ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: copyWithZone - if anyone could explain this to me ?


  • Subject: Re: copyWithZone - if anyone could explain this to me ?
  • From: Graham Cox <email@hidden>
  • Date: Tue, 1 Dec 2009 21:28:03 +1100

On 01/12/2009, at 6:06 PM, Clark Cox wrote:

> True, but history is a powerful force. This is also why the
> documentation on NSCopyObject states:
>
> "This function is dangerous and very difficult to use correctly. It's
> use as part of copyWithZone: by any class that can be subclassed, is
> highly error prone. Under GC or when using Objective-C 2.0, the zone
> is completely ignored.
>
> This function is likely to be deprecated after Mac OS X 10.6."


That's interesting. When I earlier stated I though this function was dangerous, I hadn't actually read that - I'd just arrived at that conclusion. Nice to know I occasionally get something right ;-)

--Graham


_______________________________________________

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

  • Prev by Date: Hightlight on mouseover a NSTextFieldCell inside a TableView
  • Next by Date: Re: NSString out of scope
  • Previous by thread: Re: Hightlight on mouseover a NSTextFieldCell inside a TableView
  • Next by thread: Re: Does NSData rearrange the order of bits?
  • Index(es):
    • Date
    • Thread