Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198
CFKeyedArchiverUID - iPhone Development Wiki

CFKeyedArchiverUID

From iPhone Development Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

CFKeyedArchiverUID is the "8th property list object" for supporting NSKeyedArchiver. It is essentially a 32-bit integer, but this specific type is used to denote a link in the object graph.

This type will appear as <NSCFType 0xXXXXXXXX> when NSLog-ing it, which is not useful. Apple's Property List Editor does not recognize this type, so if you edit a plist generated by NSKeyedArchiver, data will be lost.

typedef struct __CFKeyedArchiverUID* CFKeyedArchiverUIDRef;

CFTypeID              _CFKeyedArchiverUIDGetTypeID (void);
CFKeyedArchiverUIDRef _CFKeyedArchiverUIDCreate    (CFAllocatorRef allocator, uint32_t value);
uint32_t              _CFKeyedArchiverUIDGetValue  (CFKeyedArchiverUIDRef uid);

External links