SKStoreReviewController.requestReview() is deprecated in favor of AppStore.requestReview(in:). The problem is that AppStore.requestReview(in:) requires passing in a NSViewController, and in some contexts, this is not possible. For example, a menu bar app that only has a NSMenu when you click it. It has no NSViewController that could be passed in. How are we supposed to request a review for such apps?
FB14887376
Post
Replies
Boosts
Views
Activity
According to docs, .focusedObject() usage should be moved to .focusedValue() when migrating to @Observable, but there is no .focusedSceneValue() overload that accepts Observable like with .focusedValue(). So how are we supposed migrate .focusedSceneObject() to @Observable?
I'm trying to convert a 10-bit HEIC image to a 16-bit PNG, but it ends up 8-bit PNG. Is there any way to force it to be 16-bit?
I'm using CGImageSourceCreateWithURL on macOS.
I want to use the Fn modifier key if available, and if not, offer the user a different modifier. But only offer it to users without a Fn key. Some external keyboard do not have a Fn key.
Is there any way to detect whether the active keyboard has a physical Fn key?
(I am not asking how to detect a Fn key press)
I'm looking for a solution in Swift that works within a sandboxed app.
I already tried asking on Stack Overflow.
I'm getting a lot of AttributeGraph cycle warnings in my app. Is there any way to debug what's causing it?
This is what shows up in the console:
=== AttributeGraph: cycle detected through attribute 11640 ===
=== AttributeGraph: cycle detected through attribute 14168 ===
=== AttributeGraph: cycle detected through attribute 14168 ===
=== AttributeGraph: cycle detected through attribute 44568 ===
=== AttributeGraph: cycle detected through attribute 3608 ===