Is there an equivalent API for CFDictionary to display its contents the way [NSDictionary description] does?
I was able to dump the CFDictionary using XML by:
CFDataRef tempData = CFPropertyListCreateXMLData(NULL, dict);
CFStringRef tempStrRef = CFStringCreateFromExternalRepresentation(NULL, tempData, kCFStringEncodingASCII);
And tempStrRef gets a plist format of the dictionary but [NSDictionary description] has a different output.
Is there a way to get the same behavior as [description] without having to cast CFDictionary to NSDictionary? I can't use Objective-C code in the program.
I was able to dump the CFDictionary using XML by:
CFDataRef tempData = CFPropertyListCreateXMLData(NULL, dict);
CFStringRef tempStrRef = CFStringCreateFromExternalRepresentation(NULL, tempData, kCFStringEncodingASCII);
And tempStrRef gets a plist format of the dictionary but [NSDictionary description] has a different output.
Is there a way to get the same behavior as [description] without having to cast CFDictionary to NSDictionary? I can't use Objective-C code in the program.