Post

Replies

Boosts

Views

Activity

Reply to How to only make a notification sound without notification banner
Hi @Gualtier Malde, there is one scenario why I want to use notification play sound only: user enable a focus mode, we should not play the sounds. But in macOS, we can't get the focus status when user don't allow share focus status. UNUserNotificationCenter can know current focus status and decide to play sound or not. Any suggestion about this case?
Replies
Boosts
Views
Activity
Jun ’23
Reply to NSTreeController, insert, remove, reorder..with Swift Arrays
I encountered this issue when I have a property to bind with treeController @objc dynamic var contents: [AnyObject] = [] I try to change NSMutableArray, works for me. @objc dynamic var contents: NSMutableArray = NSMutableArray()
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Dec ’22