Prototype of a callback function used to release a key-value pair before it’s removed from a dictionary.
SDKs
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Core Foundation
Declaration
typedef void (*CFDictionaryReleaseCallBack)(CFAllocator Ref allocator, const void *value);
Parameters
allocator
The dictionary’s allocator.
value
The value being removed from the dictionary.