Skip to content

Enumeration

Data.Deallocator

iOS 8.0+ iPadOS 8.0+ Mac Catalyst 8.0+ macOS 10.10+ tvOS 9.0+ watchOS 2.0+
A deallocator you use to customize how the backing store is deallocated for data created with the no-copy initializer.
enum Deallocator

Overview

When creating a Data with the no-copy initializer, you may specify a Data.Deallocator to customize the behavior of how the backing store is deallocated.

Topics

Enumeration Cases