CFStringCreateWithCString
CFStringCreateWithCString is a function in the Core Foundation framework of Apple's operating systems, including macOS, iOS, watchOS, and tvOS. Its primary purpose is to create a Core Foundation string object from a C-style string. A C-style string is a null-terminated array of characters.
The function takes several arguments. The first is a reference to the memory allocation strategy to be
When CFStringCreateWithCString is called, it allocates memory for a new CFString object and copies the contents