Instance Methodswift 6.0.3Foundation
applyTransform(_:reverse:range:updatedRange:)
func applyTransform(_ transform: String, reverse: Bool, range: NSRange, updatedRange resultingRange: NSRangePointer?) -> Bool
func applyTransform(_ transform: String, reverse: Bool, range: NSRange, updatedRange resultingRange: NSRangePointer?) -> Bool
s10Foundation15NSMutableStringC14applyTransform_7reverse5range12updatedRangeSbSS_SbAA8_NSRangeVSpyAIGSgtF
What are these?5P31H
import Foundation
class NSMutableString
@frozen struct String
A Unicode string value that is a collection of characters.
@frozen struct Bool
A value type whose instances are either true
or false
.
typealias NSRangePointer = UnsafeMutablePointer<NSRange>
required init(capacity: Int)
override required init(characters: UnsafePointer<unichar>, length: Int)
required convenience init?(coder aDecoder: NSCoder)
required convenience init(extendedGraphemeClusterLiteral value: StaticString)
required init(string aString: String)
required init(stringLiteral value: StaticString)
required convenience init(unicodeScalarLiteral value: StaticString)
func append(_ aString: String)
func deleteCharacters(in range: NSRange)
func insert(_ aString: String, at loc: Int)
func replaceCharacters(in range: NSRange, with aString: String)
func replaceOccurrences(of target: String, with replacement: String, options: NSMutableString.CompareOptions = [], range searchRange: NSRange) -> Int
func setString(_ aString: String)