I know there are a plethora of frameworks for macOS to make working with graphics easy. In this case I want to make my life hard on purpose for the learning experience, and customizability.
I want to simply make a window of X by Y pixels, make an array of X by Y pixels, fill the array with color data, and have the window display those pixels.
Basically I want to toy around with making my own little engine to draw things so I can learn from the experience. And I don't want to use OpenGL, Metal, or any other framework that does the hard work for me. Simply give me a window and let me color the pixels one by one. Once I learn how to do what I want to do there I can move up to a higher level framework.
So what in macOS will let me do just that? I've looked at a couple of the frameworks but there are too many to make heads or tails of where to really start. Once I know where to start I can figure out the rest from there.
So far the best idea I have is to use Core Graphics, create a pixel buffer, set that to the whole window, and ignore all the other fancy stuff that Core Graphics does for me. I'd like to go a level lower than that if possible.