• 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
Major Bug in Cocoa (With sample Code!!)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Major Bug in Cocoa (With sample Code!!)


  • Subject: Major Bug in Cocoa (With sample Code!!)
  • From: Steve Gehrman <email@hidden>
  • Date: Thu, 2 Aug 2001 07:26:36 -0700

OK, I put together a sample project that shows a major bug with forwardinvocation. The problem is that the forwardinvocation stuff retains the objects it returns from methods and everytime you call the method, the retain count just keeps growing. Check out the code and you will see what I'm talking about.

This is a major pain in the ass. I structured a large part of my app around this forwardinvocation stuff and my app hogs memory like a mofo!!

Apple, please fix soon!! (or tell me what I'm doing wrong)

goto http://www.cocoatech.com to download the project: filename = duh.tgz

steve


  • Prev by Date: String literals without escape sequences?
  • Next by Date: Re: Looping worker threads - NSString vs sprintf
  • Previous by thread: String literals without escape sequences?
  • Next by thread: Re: Major Bug in Cocoa (With sample Code!!)
  • Index(es):
    • Date
    • Thread