Skip to main content

Module cf

Module cf 

Source
Expand description

Safe Core Foundation wrappers.

This module provides lightweight, dependency-free wrappers for the most common Core Foundation value, collection, locale, formatter, and runtime types used throughout the Apple media stack.

Structs§

CFArray
CFAttributedString
CFBag
CFBundle
CFCalendar
CFCharacterSet
CFData
CFDate
CFDateFormatter
CFDictionary
CFError
CFFileDescriptor
CFFileSecurity
CFLocale
CFMessagePort
CFMutableSet
CFNotificationCenter
CFNumber
CFNumberFormatter
CFPreferences
Core Foundation preferences helpers.
CFPropertyList
Namespace for property-list parse / serialize helpers.
CFPropertyListMutabilityOptions
Mutability options for property-list decoding and deep copies.
CFReadStream
CFRunLoop
CFSet
CFSocket
CFStreamPair
Paired Core Foundation streams backed by a shared in-memory buffer.
CFString
CFTimeZone
CFTimer
CFTree
Safe wrapper around a Swift-backed CFTree helper.
CFType
Owned, type-erased CFTypeRef.
CFURL
CFUUID
CFWriteStream
CFXML
Tiny wrapper around the remaining useful CFXML helpers.

Enums§

CFDateFormatterStyle
CFDateFormatterStyle values mirrored from Core Foundation.
CFNumberFormatterStyle
CFNumberFormatterStyle values mirrored from Core Foundation.
CFPropertyListError
Errors returned by property-list decode / serialize helpers.
CFPropertyListFormat
CFPropertyListFormat values mirrored from Core Foundation.
CFRunLoopRunResult
Result codes from CFRunLoopRunInMode.
CFSetCallbacks
Safe representation of the CFSetCallBacks / kCFTypeSetCallBacks / kCFCopyStringSetCallBacks configuration used when creating sets.

Traits§

AsCFType
Trait for Core Foundation values that can be inserted into CF collections.

Type Aliases§

CFDict
CFStream
Convenience alias for the bound read/write stream pair.