Creating a fully customized NSAlert
Is it possible to create a fully customized alert? I'm doing it with custom sheets now, but I'd like to have the feature that the sheet is blocking (like -[NSAlert runModal] ). I just want to change the background, really, and the text color, of course. Warning about the recommended solution: This code causes wasteful and pointless overhead: for (;;) { if ([NSApp runModalSession:session] != NSRunContinuesResponse) break; } This code is copied straight from the Apple documentation page - but it's meant to show the developer where meaningful code can be inserted for background execution while