Re: Problems with runModalForWindow, looking for alternatives
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