• 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: Why is copyWithZone: being called?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why is copyWithZone: being called?


  • Subject: Re: Why is copyWithZone: being called?
  • From: T Reaves <email@hidden>
  • Date: Mon, 21 Feb 2005 18:13:27 -0500


On Feb 21, 2005, at 3:02 PM, Sean McBride wrote:

On 2005-02-21 13:20, T Reaves said:

--snip--
*** -[Range copyWithZone:]: selector not recognized

I know how to implement copyWithZone:. What I do not understand is
why I must. Why is it that when a domain object contains only NS* data
members, bindings do not call copyWithZone:, but when a domain object
contains other domain object data members copyWithZone: is called?

I have seen the same message. In my case, it was because I set the
bindings up wrong. I also wondered where and why I would have to
implement copyWithZone:, but in fact I did not need to. Triple check how
you have things bound, I bet you made a boo-boo. :)




How had you set them up wrong? I've looked over my bindings, and they all show selection.objectAttribute.attribute. Other than there being the second dereference to get the attribute of interest, they are exactly the same as my other bindings.



_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Why is copyWithZone: being called?
      • From: "Sean McBride" <email@hidden>
References: 
 >Why is copyWithZone: being called? (From: T Reaves <email@hidden>)
 >Re: Why is copyWithZone: being called? (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: is there a sample project for an AppleScriptable Cocoa app?
  • Next by Date: Brushed Steel Look.
  • Previous by thread: Re: Why is copyWithZone: being called?
  • Next by thread: Re: Why is copyWithZone: being called?
  • Index(es):
    • Date
    • Thread