| CoreGraphics.framework | |
|---|---|
| Public Framework | |
| Available | 2.0 – present |
| Class Prefix | CG |
| Official docs | Core Graphics |
Core Graphics is a public framework for 2D graphics rendering. It's available since the first version of Mac OS X. All UI rendering on all Apple platforms relies on CoreGraphics.
On Mac (not on iOS), this framework also has functions to interact with the display hardware and windowing system.
All the API is C, but since Swift 3.0, object-oriented Swift bindings are also provided.
