Re: NSAlert boxes ...
Graham Cox
Normal rules require that you either autorelease it or release it when you’re done (assuming manual MM of course).
toggle quoted message
Show quoted text
If no autorelease or release was required, then that would be an exception to normal rules, and NSAlert is not documented as an exception to those rules. However, the alert can stay on screen for a long time, and the event loop is running, albeit modally. That means that autorelease pools are getting drained. So *something* must be keeping the alert alive until the user dismisses it. —Graham
|
|