Initializes the receiver, a newly allocated
NSString object, by converting the data in a given C-string from the default C-string encoding into the Unicode character encoding.
- iOS 2.0–2.0Deprecated
- macOS 10.0–10.4Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- tvOS 9.0–9.0Deprecated
- watchOS 2.0–2.0Deprecated
c must be a zero-terminated C string in the default C string encoding, and may not be
NULL. Returns an initialized object, which might be different from the original receiver.
To create an immutable string from an immutable C string buffer, do not attempt to use this method. Instead, use