Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Cocoa アプリを作成していますが、基本的にウィンドウがあり、別のウィンドウを開く前にシートが開いているかどうかを確認する必要があります。Googleはそれを知らないようです。シートが開いているかどうかを確認するにはどうすればよいですか?
-[NSWindow attachedSheet]
BOOL hasSheet = ([window attachedSheet] != nil);