Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question - How do I create UI elements based on AXNotifications #40

Open
avnerbarr opened this issue Mar 19, 2023 · 0 comments
Open

Question - How do I create UI elements based on AXNotifications #40

avnerbarr opened this issue Mar 19, 2023 · 0 comments

Comments

@avnerbarr
Copy link

I realize the question is a bit vague, but the Apple documentation is horrendous and hoping you could assist.

Basically, imagine a scenario where you are assisting in spell checking (or some other text manipulation of the given keystrokes in a text element).

I want to listen for events on the text element, run some text processing, and present a popup dialogue that the user can interact with.
Once the user selects (or escapes) out of the dialogue I should be able to replace the typed text

I've gone through the "actions", "attributes" and various other documentation I could find but see nothing about how to create elements.

You can see this type of interaction in apps like Grammarly and Fig etc.

I can't seem to find ANY code at all with examples for this 🤔

No Apple documentation seems to exist as well...

image

Pasted_Image_19_03_2023__14_33
Pasted_Image_19_03_2023__14_33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant