A cross-platform UI framework for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
301 B

using MonoMac.AppKit;
namespace IntegrationTestApp.Embedding;
internal class MacHelper
{
private static bool s_isInitialized;
public static void EnsureInitialized()
{
if (s_isInitialized)
return;
s_isInitialized = true;
NSApplication.Init();
}
}