cocoacocoa-touchcore-graphicsquartz-graphics

Cocoa: Quartz, Core Graphics, Context vs View. Oh My!


Heads starting to hurt. I think I dropped into this too fast... Perhaps someone could help me visualize how these (excluding OpenGL ES) high level drawing libraries fit together - or point me to some high level docs. For example I see "context" and "view" used interchangeably in some cases but a view has one (only one?) context while a context doesn't have a view?!?

Nothing too elaborate just need help visualizing their differences and their boundaries (when to use one as opposed to the other).


Solution

  • Here's a document with a graphic showing the relationship between these technologies, and an explanation of contexts:

    https://developer.apple.com/library/archive/documentation/GraphicsImaging/Conceptual/CoreImaging/ci_intro/ci_intro.html#//apple_ref/doc/uid/TP30001185

    It's under the "Core Image Programming Guide" overview if the link breaks again. https://developer.apple.com/documentation/coreimage