• 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
-[Protocol retain] warning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

-[Protocol retain] warning


  • Subject: -[Protocol retain] warning
  • From: Larry Campbell <email@hidden>
  • Date: Tue, 11 Nov 2003 16:38:15 -0500

I have some code that passes a bunch of objects to a thread through an NSArray. One of the objects it passes is a Protocol. In Panther, when I construct the array - which causes a retain message to be sent to each object - I get this warning:

*** -[Protocol retain]: warning: Object compatibility method has been executed at least once. Convert source code off it NOW!

How am I supposed to pass a protocol around?
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: -[Protocol retain] warning
      • From: "Timothy J. Wood" <email@hidden>
  • Prev by Date: Re: Support for a Script Menu?
  • Next by Date: Re: Adding own languages
  • Previous by thread: Re: Support for a Script Menu?
  • Next by thread: Re: -[Protocol retain] warning
  • Index(es):
    • Date
    • Thread