Re: NSAlert boxes ...
Jon Gotow
Oh interesting - it looks like when you call [NSAlert beginSheetModalForWindow:completionHandler:], the alert gets retained by the parent window's attachedSheet property. So you're right, no issues there either. Now that you've brought it up, I have to say I've never worried about the alert being released too early in my code when I use beginSheetModalForWindow - I never gave it much thought because it just worked.
toggle quoted message
Show quoted text
- Jon On Feb 17, 2020, at 12:54 AM, Graham Cox <graham@...> wrote: |
|