2020/04/29 This bug still exists.
Post
Replies
Boosts
Views
Activity
As I know, you can copy "Application Scene Manifest" in the info.plist, then change its title to "UIApplicationSceneManifest-macos". Set it "SupportsMultipleScenes", then when you close the window, the app won't quit.
But when you reopen the window, its size will be the maximum size. not the same size as when you close it. And background audio will also stop. Although, NSTimer will continue to work.
In the app kit, you can do this to make the close button do the hide action, but you can't do this in Catalyst. I'm searching for a solution too.
import Cocoa
class VCWindowController : NSWindowController, NSWindowDelegate {
		required init?(coder: NSCoder) {
				super.init(coder: coder)
		}
		
		func windowShouldClose(sender: AnyObject) -> Bool {
				NSApp.hide(nil)
				return false
		}
}
2021, Still no change.
Multiplying the new RGB value with the alpha value should fix this.
#include <metal_stdlib>
using namespace metal;
[[stitchable]] half4 replaceColor(float2 pos, half4 oldColor, half4 newColor) {
return half4(half3(newColor.r, newColor.g, newColor.b) * oldColor.a, oldColor.a);
}
Delete ~/Library/Preferences/com.apple.dt.xcodebuild.plist should fix this. You don't need to uninstall Xcode completely.
Delete ~/Library/Preferences/com.apple.dt.xcodebuild.plist can fix this.