Contents

CFMutableString

Declaration

class CFMutableString

Overview

CFMutableString manages dynamic strings. The basic interface for managing strings is provided by CFString. CFMutableString adds functions to modify the contents of a string.

CFMutableString is “toll-free bridged” with its Cocoa Foundation counterpart, NSMutableString. This means that the Core Foundation type is interchangeable in function or method calls with the bridged Foundation object. Therefore, in a method where you see an NSMutableString * parameter, you can pass in a CFMutableStringRef, and in a function where you see a CFMutableStringRef parameter, you can pass in an NSMutableString instance. This also applies to concrete subclasses of NSMutableString. See Toll-Free Bridged Types for more information on toll-free bridging.

Topics

CFMutableString Miscellaneous Functions

Constants

See Also

Related Documentation

  • Property List Programming Topics for Core Foundation
  • String Programming Guide for Core Foundation

Opaque Types