Post

Replies

Boosts

Views

Activity

Comment on SwiftUI TextEditor performance issues
I forgot to state: If you are using the method I mentioned above, you might need a dedicate State parameter to help you trigger the redraw of the view. Such scenarios include: loading file contents to the TextEditor, etc. Such State parameter can be anything... i.e. a Bool (and you toggle it).
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Dec ’22
Comment on [macOS Sequoia] Using RegisterEventHotkey with option and shift modifiers doesn't working anymore
Will you also limit this in IMKInputController API? I can still use these hotkeys in my sandboxed input method. Email to my Apple ID email address if you want more information. This forum limits the length of my reply.
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Sep ’24
Comment on How to get the bundle identifier of the app bundle dragged into an NSTableView?
Thank you for your idea. I do wonder whether the App SandBox will hinder the app from getting the correct URL, but I will have a try.
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Feb ’23
Comment on Swift @objc selector doesn't work.
There's no results printed in the Xcode output console, indicating that the buttonPressed(_:) is not called at all. (I dunno why my previous comment disappeared.)
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Jan ’23
Comment on Swift @objc selector doesn't work.
Thanks. Already tried but nothing printed.
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Jan ’23
Comment on SwiftUI TextEditor performance issues
I forgot to state: If you are using the method I mentioned above, you might need a dedicate State parameter to help you trigger the redraw of the view. Such scenarios include: loading file contents to the TextEditor, etc. Such State parameter can be anything... i.e. a Bool (and you toggle it).
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’22
Comment on How to detect changes in Documents folder on IOS
Hi. Thanks for the script you shared here. Could you please explain how should we fill into the "requestedResourceKeys"? This confuses me a lot since I just checked that there's no requestedResourceKeys in the DocInteraction Obj-C sample code.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’22