Apple's suite of functions in CoreFoundation for string-handling.
NSString *aNSString; CFStringRef aCFString; aCFString = CFStringCreateWithCString(NULL, [aNSString UTF8String], NSUTF8StringEncoding); aCFString = CFXMLCreateStringByUnescapingEntities(NULL, aCFString, NULL); How can I …
cocoa string cfstringHow can i create a CFString from a native swift String or NSString in swift let path:String = NSBundle.mainBundle().…
swift cfstringHow can I convert a CFURLRef to a C++ std::string? I also can convert from the CFURLRef to a …
c++ macos stdstring cfstring cfurl-encodingI have a DTrace probe catching calls to a function, and one of the function's arguments is a CFStringRef. This …
dtrace cfstring