Mac app here, 10.7. • Show a custom sheet (window) on a document window. • Send it an -orderOut: • Send [NSApp endSheet:returnCode:]
Expected Result: • Sheet should be completely removed from [NSApp orderedWindows]. Actual Result: • It is moved to the end of [NSApp orderedWindows]. This sheet has isReleasedWhenClosed:NO and is subclassed directly from NSWindow, not NSPanel. However, I don't think that matters, unless NSApp is watching its retainCount, which would be turning the world upside down. What is necessary to get rid of a custom sheet, for good? Thanks Jerry Krinock _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com