i'm new to macOS development. i do mainly web dev. i want to build an app that allows a Vim experience all around macOS. i thought it'd be pretty straightforward but after 2 months of books, tutorials, building a few apps, i'm finding that i barely understand anything about Apple's API and how to use the documentation.
i'm now going step by step. the first thing i'm trying to achieve now is changing the screen tint when a keyboard shortcut is hit. i've checked the Accessibility docs and i can't find anything related to what i'm trying to do. after a week of searching and playing around i basically haven't been able to write one line of code.
probably i'm looking at the wrong place. i don't see to find any usable information. any hint possible on where to look?
thanks in advance
i'm now going step by step. the first thing i'm trying to achieve now is changing the screen tint when a keyboard shortcut is hit. i've checked the Accessibility docs and i can't find anything related to what i'm trying to do. after a week of searching and playing around i basically haven't been able to write one line of code.
probably i'm looking at the wrong place. i don't see to find any usable information. any hint possible on where to look?
thanks in advance
well, the usual of course. after posting, i find my way :D
first i found NSScreen: https://developer.apple.com/documentation/appkit/nsscreen that says it's just to grab info, but if you need to change, you need to check for Quarts Display Services: https://developer.apple.com/documentation/coregraphics/quartz_display_services
so here you go. Quarts Display Services seems to be the thing to change the Gamma colors.
first i found NSScreen: https://developer.apple.com/documentation/appkit/nsscreen that says it's just to grab info, but if you need to change, you need to check for Quarts Display Services: https://developer.apple.com/documentation/coregraphics/quartz_display_services
so here you go. Quarts Display Services seems to be the thing to change the Gamma colors.