- iOS 2.0+
- macOS 10.0+
- UIKit for Mac 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
The object for which to return an editing string.
NSString object that is used for editing the textual representation of
When implementing a subclass, override this method only when the string that users see and the string that they edit are different. In your implementation, return an
NSString object that is used for editing, following the logic recommended for implementing
string(for:). As an example, you would implement this method if you want the dollar signs in displayed strings removed for editing.