framework

Core Graphics

Core Graphics is a low-level 2D graphics framework in Apple's ecosystem (iOS, macOS, watchOS, tvOS) that provides APIs for drawing vector graphics, handling images, and managing color spaces. It operates at a fundamental level, allowing developers to create custom UI elements, perform complex rendering, and manipulate graphics with high precision. Often referred to as Quartz 2D, it serves as the foundation for many higher-level UI frameworks on Apple platforms.

Also known as: Quartz 2D, Quartz, CG, CoreGraphics, Apple Graphics Framework
🧊Why learn Core Graphics?

Developers should learn Core Graphics when they need to create custom, high-performance graphics that aren't possible with standard UI components, such as dynamic charts, custom animations, or image processing. It's essential for building advanced visual features in apps where pixel-perfect control is required, like drawing tools, data visualization, or game development. Use it when UIKit or SwiftUI's built-in views are insufficient for specific rendering needs.

Compare Core Graphics

Learning Resources

Related Tools

Alternatives to Core Graphics