<!--
{
  "documentType" : "article",
  "framework" : "CoreFoundation",
  "identifier" : "/documentation/CoreFoundation/core-foundation-data-types",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Core Foundation Data Types"
}
-->

# Core Foundation Data Types

## Topics

### Data Types

[`typealias CFAllocatorTypeID`](/documentation/CoreFoundation/CFAllocatorTypeID)

[`struct CFCalendarIdentifier`](/documentation/CoreFoundation/CFCalendarIdentifier)

[`struct CFDateFormatterKey`](/documentation/CoreFoundation/CFDateFormatterKey)

[`typealias CFErrorDomain`](/documentation/CoreFoundation/CFErrorDomain)

[`struct CFLocaleIdentifier`](/documentation/CoreFoundation/CFLocaleIdentifier)

[`struct CFLocaleKey`](/documentation/CoreFoundation/CFLocaleKey)

[`struct CFNotificationName`](/documentation/CoreFoundation/CFNotificationName)

[`struct CFNumberFormatterKey`](/documentation/CoreFoundation/CFNumberFormatterKey)

[`struct CFRunLoopMode`](/documentation/CoreFoundation/CFRunLoopMode)

[`struct CFStreamPropertyKey`](/documentation/CoreFoundation/CFStreamPropertyKey)

[`typealias CFTypeRef`](/documentation/CoreFoundation/CFTypeRef)

An untyped “generic” reference to any Core Foundation object.

[`typedef double CGFloat;`](/documentation/CoreFoundation/CGFloat-c.typealias)

The basic type for all floating-point values.

[`typedef SInt32 HRESULT;`](/documentation/CoreFoundation/HRESULT)

[`typedef void * LPVOID;`](/documentation/CoreFoundation/LPVOID)

[`typedef CFUUIDBytes REFIID;`](/documentation/CoreFoundation/REFIID)

[`typedef UInt32 ULONG;`](/documentation/CoreFoundation/ULONG)



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)