Unfortunately not guaranteed in the general case, although it should
work with regular NSMutableString in 10.4 and newer. The fix that
guaranteed it would work wasn't there pre-10.4, but it could still
work in many cases in practice.
It does not work with the backing store for the text system
(NSTextStorage).
Ali
On Aug 29, 2007, at 21:46 , Manfred Schwind wrote:
It effectively appends a given string to itself, so that it gets
doubled. (E.g. "Oh" will become "OhOh" etc.)
It works at least on 10.4.10, but it's not documented wether I can
use the receiver as parameter in the appendString selector for
NSMutableString. Can someone (maybe from Apple) approve that this
works also for older system versions?
I can think of strange side effects when appending a string to
itself, depending on the internal implementation.