• 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
copyWithZone error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

copyWithZone error


  • Subject: copyWithZone error
  • From: Lorenzo <email@hidden>
  • Date: Fri, 26 Sep 2003 23:39:06 +0200

Hi,
in some computer when someone launches my Cocoa app, he gets

------------------
2003-09-25 17:18:06.166 myApp[611] *** -[SUBTextField copyWithZone:]:
selector not recognized
2003-09-25 17:18:06.171 myApp[611] An uncaught exception was raised
2003-09-25 17:18:06.172 myApp[611] *** -[SUBTextField copyWithZone:]:
selector not recognized
2003-09-25 17:18:06.172 myApp[611] *** Uncaught exception:
<NSInvalidArgumentException> *** -[SUBTextField copyWithZone:]: selector not
recognized
------------------

and the application quits immediately. It won't launch.
SUBTextField is a subclass of NSTextField. And I didn't override the
copyWithZone method. Should I override it?

Only some computer gets this trouble, so I cannot understand the origin of
the problem. The problems occurs on 10.2.6 and 10.2.8 (ok, forget 10.2.8,
but the 10.2.6?). On my and other 10.2.6 it works properly.

Any idea please?


Best Regards
--
Lorenzo
email: email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: copyWithZone error
      • From: j o a r <email@hidden>
    • Re: copyWithZone error
      • From: "Alastair J.Houghton" <email@hidden>
  • Prev by Date: Re: Non-View Text Engine
  • Next by Date: Re: GCC3.3 and mid-function class declarations
  • Previous by thread: NSView Not Completely Drawing Subviews
  • Next by thread: Re: copyWithZone error
  • Index(es):
    • Date
    • Thread