• 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: Problems with runModalForWindow, looking for alternatives
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with runModalForWindow, looking for alternatives


  • Subject: Re: Problems with runModalForWindow, looking for alternatives
  • From: Scott Ribe <email@hidden>
  • Date: Tue, 01 Nov 2011 13:10:26 -0600

On Nov 1, 2011, at 12:33 PM, Vojtěch Meluzín wrote:

> Why would it? It's AFTER the runModalForWindow ends, so the window is not used anymore, is it?

Even so, you agree it should retain it, no? Now, should it release it or autorelease it when it's done? Examining retain counts is almost always the wrong thing to do, because it almost always indicates a basic lack of understanding of Cocoa memory management.

--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Problems with runModalForWindow, looking for alternatives (From: Vojtěch Meluzín <email@hidden>)
 >Re: Problems with runModalForWindow, looking for alternatives (From: Scott Ribe <email@hidden>)
 >Re: Problems with runModalForWindow, looking for alternatives (From: Vojtěch Meluzín <email@hidden>)

  • Prev by Date: Re: Sandboxing question
  • Next by Date: Re: Problems with runModalForWindow, looking for alternatives
  • Previous by thread: Re: Problems with runModalForWindow, looking for alternatives
  • Next by thread: Re: How do we get rid of "application downloaded from the internet" warnings?
  • Index(es):
    • Date
    • Thread