Notifies a CFMutableString object that its external backing store of Unicode characters has changed.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
The string to act as a “wrapper” for the external backing store (
chars). If this value is not a CFMutableString object, an assertion is raised.
The external (client-owned) Unicode buffer acting as the backing store for
The current length of the contents of
chars (in Unicode characters).
The capacity of the Unicode buffer—that is, the total number of Unicode characters that can be stored in it before the buffer has to be grown.
You use this function to reallocate memory for a string, if necessary, and change its references to the data in the buffer. The object must have been created with the
CFStringCreateMutableWithExternalCharactersNoCopy function; see the discussion of this function for more information.
CFMutableString Miscellaneous Functions
Appends the characters of a string to those of a CFMutableString object.
Appends a formatted string to the character contents of a CFMutableString object.
Changes the first character in each word of a string to uppercase (if it is a lowercase alphabetical character).
Folds a given string into the form specified by optional flags.
Inserts a string at a specified location in the character buffer of a CFMutableString object.
Changes all uppercase alphabetical characters in a CFMutableString to lowercase.
Normalizes the string into the specified form as described in Unicode Technical Report #15.
Enlarges a string, padding it with specified characters, or truncates the string.
Replaces part of the character contents of a CFMutableString object with another string.
Replaces all characters of a CFMutableString object with other characters.
Trims a specified substring from the beginning and end of a CFMutableString object.
Changes all lowercase alphabetical characters in a CFMutableString object to uppercase.