Top "Core-foundation" questions

Core Foundation provides the fundamental data types and essential services that underlie both the Cocoa and Carbon environments on Mac OS X.

Difference between Foundation Framework and Core Foundation Framework?

I try to get the hang of it, but for now both seem the same thing to me. However, Xcode …

objective-c cocoa cocoa-touch foundation core-foundation
How to enumerate CFProperyList / CFDictionary keys

I would like to iterate through a CFDictionary (CFPropertyList) and get all values on a specific level. This would be …

ios macos enumeration core-foundation
Why would CFRelease(NULL) crash?

Is there a reason why CFRelease does not check for NULL? Isn't it unacceptable when [nil release]; free(NULL); delete …

objective-c core-foundation
How to convert CFArray to Swift Array?

According to Apple's "Using Swift with Cocoa and Objective-C", "In Swift, you can use each pair of toll-free bridged Foundation …

nsarray swift core-foundation
CoreFoundation vs Foundation

In iPhone development, speed is of the essence. Does anyone know if there is a speed difference between using a …

cocoa core-foundation foundation
Toll-free bridging and pointer access in Swift

I am porting an App from Objective-C to Swift and I need to use the following method: CFStreamCreatePairWithSocketToHost(alloc: CFAllocator!, …

objective-c core-foundation swift toll-free-bridging
How do I implement a bit array in C / Objective C

iOS / Objective-C: I have a large array of boolean values. This is an inefficient way to store these values – at …

objective-c c ios core-foundation bitarray
Determining what a CFTypeRef is?

I have a function which returns CFTypeRef. I have no idea what it really is. How do I determine that? …

objective-c core-foundation
libMobileGestalt copySystemVersionDictionaryValue: Could not lookup ReleaseType from system version dictionary

I have been testing prior to submission of an update... from iOS4, and have run into the following... 1) creating PDFs …

ios6 crash-reports core-text core-foundation
How to access CFDictionary in Swift 3?

I need to read and write some data from CFDictionary instances (to read and update EXIF data in photos). For …

swift swift3 core-foundation