Set the delegate (adds it as an observer for
text storage notifications) and removes any old value
(removes it as an observer). The
delegate is not retained.
Returns the string data stored by the receiver.
For performance reasons (and OSX
compatibility) this is actually a proxy to
the internal representation of the string. This
proxy provides an immutable string interface, but you
must be aware that the underlying information may be
modified by the receiver at any point, so if you
need a consistent/fixed snapshot of the data (or if
you are going to pass the string to other code which
expects to be working with a constant string), you
should copy the object returned by this method
rather than simply retaining it.
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.