• 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: Re: Can I tell which object is retaining my window?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: Can I tell which object is retaining my window?


  • Subject: Re: Re: Can I tell which object is retaining my window?
  • From: "Shawn Erickson" <email@hidden>
  • Date: Mon, 31 Jul 2006 11:55:57 -0700

On 7/31/06, Drarok Ithaqua <email@hidden> wrote:
It's It's definitely not my own now. I've got my app to run
perfectly, but as soon as I add the 3rd party NSProgressIndicator in,
I get a ton of retain/releases, and my window doesn't dealloc.
A retain cycle sounds like the right term, it seems like an almost
infinite loop, but if I set the focus to another app, then back to mine,
the window is dealloced and the massive loop of retain/releases stops.

A retain cycle is simply two objects retaining each other either directly or by a set of intermediate objects such that they will never be deallocated since the always maintain a retain on each other. They come about if you don't consider parent / child object ownership type concepts.

I wasn't using that term to say anything about the numerous
retain/release messages you are seeing (again those may not be a
problem at all... just a cost of the implementation you have).

-Shawn
_______________________________________________
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


References: 
 >Can I tell which object is retaining my window? (From: email@hidden)
 >Re: Can I tell which object is retaining my window? (From: Tommy Nordgren <email@hidden>)
 >Re: Can I tell which object is retaining my window? (From: Drarok Ithaqua <email@hidden>)
 >Re: Re: Can I tell which object is retaining my window? (From: "Shawn Erickson" <email@hidden>)
 >Re: Can I tell which object is retaining my window? (From: Drarok Ithaqua <email@hidden>)

  • Prev by Date: Re: Checking a method for parameter types via SEL
  • Next by Date: Re: NSMenuItem protocol and incompatible types.
  • Previous by thread: Re: Can I tell which object is retaining my window?
  • Next by thread: Re: Can I tell which object is retaining my window?
  • Index(es):
    • Date
    • Thread