An abstraction for data-reading tasks that eliminates the need to manage a raw memory buffer.
- iOS 2.0+
- macOS 10.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Graphics
Some Core Graphics routines supply blocks of data to your program. Rather than reading through a raw memory buffer, data provider objects of type
CGData allow you to supply Core Graphics functions with data.
CGData is derived from
CFType and inherits the properties that all Core Foundation types have in common.