Skip to content

General program/codebase improvements#342

Open
SoCuul wants to merge 16 commits intokeycastr:mainfrom
SoCuul:improvements
Open

General program/codebase improvements#342
SoCuul wants to merge 16 commits intokeycastr:mainfrom
SoCuul:improvements

Conversation

@SoCuul
Copy link
Copy Markdown

@SoCuul SoCuul commented Mar 29, 2026

  • Modernized certain aspects of the codebase (converted bundle .NIBs to .XIBs, created an asset catalog for app images, migrated the remaining code to support ARC)
  • Use SF symbols for preferences window on Big Sur and above
  • Better organized status item & dock menus
  • Unified widths across preference panels, and decoupled the display tab height
  • Exported .kcplugin as a UTI

And after a fair amount of work, I managed to recreate the about window as a native Core Animation bundle! I also modernized the logo a bit, please feel free to give your opinions on it and I'd be happy to adjust it to your liking.

AboutWindow.mp4

@SoCuul SoCuul changed the title General program/codebase Improvements General program/codebase improvements Mar 29, 2026
@SoCuul
Copy link
Copy Markdown
Author

SoCuul commented Mar 29, 2026

The defined window titles in 3e1967f should let you easily select the KeyCastr window from a screen capture software (such as OBS).

Meaning even if it's not visible on-screen (such as #340), you can add a window capture source to superimpose the KeyCastr window on the recording. I've tested it with the Svelte visualizer and it works great.

SoCuul added 2 commits April 2, 2026 00:45
- Introduces KCDisplayMode (for checking if the current visualizer should show a type of keypress)
- Introduces `KCAvailableDisplayMode` (for validating whether a display mode should be visible in settings for the current visualizer)

Additional changes need to be made to KCEventTransformer to use values inside KCDisplayMode for validation, rather than the no longer accurate “isCommand” and “isModified” methods on KCKeystroke.
@SoCuul
Copy link
Copy Markdown
Author

SoCuul commented Apr 3, 2026

Really happy with how the about window interactivity came out. You can either hover your mouse over the app icon, or hold down the command key (since the app icon is one after all).

KeyCastr_About.mov

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

Successfully merging this pull request may close these issues.

1 participant