Enumerationswift 6.1.2Foundation
NumberRepresentation
- Swift
- 5.0+
enum NumberRepresentationenum NumberRepresentationimport Foundationclass Scannercase decimalcase hexadecimalinit(string: String) class func localizedScanner(with string: String) -> Any var caseSensitive: Boolvar charactersToBeSkipped: CharacterSet? { get set }var currentIndex: String.Index { get set }var isAtEnd: Bool { get }var locale: Any?var scanLocation: Int { get set }var string: String { get }override func copy() -> Any func copy(with zone: NSZone? = nil) -> Any func scanCharacter() -> Character? func scanCharacters(from set: CharacterSet) -> String? func scanDecimal() -> Decimal? func scanDecimal(_ dcm: inout Decimal) -> Bool @discardableResult func scanDouble(_ result: UnsafeMutablePointer<Double>) -> Bool func scanDouble(representation: Scanner.NumberRepresentation = .decimal) -> Double? @discardableResult func scanFloat(_ result: UnsafeMutablePointer<Float>) -> Bool func scanFloat(representation: Scanner.NumberRepresentation = .decimal) -> Float? @discardableResult func scanHexDouble(_ result: UnsafeMutablePointer<Double>) -> Bool @discardableResult func scanHexFloat(_ result: UnsafeMutablePointer<Float>) -> Bool @discardableResult func scanHexInt32(_ result: UnsafeMutablePointer<UInt32>) -> Bool @discardableResult func scanHexInt64(_ result: UnsafeMutablePointer<UInt64>) -> Bool @discardableResult func scanInt(_ result: UnsafeMutablePointer<Int>) -> Bool func scanInt(representation: Scanner.NumberRepresentation = .decimal) -> Int? @discardableResult func scanInt32(_ result: UnsafeMutablePointer<Int32>) -> Bool func scanInt32(representation: Scanner.NumberRepresentation = .decimal) -> Int32? @discardableResult func scanInt64(_ result: UnsafeMutablePointer<Int64>) -> Bool func scanInt64(representation: Scanner.NumberRepresentation = .decimal) -> Int64? func scanString(_ searchString: String) -> String? func scanUInt64(representation: Scanner.NumberRepresentation = .decimal) -> UInt64? @discardableResult func scanUnsignedLongLong(_ result: UnsafeMutablePointer<UInt64>) -> Bool func scanUpToCharacters(from set: CharacterSet) -> String? func scanUpToString(_ substring: String) -> String? func scanCharacters(from set: CharacterSet, into ptr: UnsafeMutablePointer<String?>?) -> Bool func scanCharactersFromSet(_ set: CharacterSet) -> String? func scanDouble() -> Double? func scanFloat() -> Float? func scanHexDouble() -> Double? func scanHexFloat() -> Float? func scanHexInt32() -> UInt32? func scanHexInt64() -> UInt64? func scanInt() -> Int? func scanInt32() -> Int32? func scanInt64() -> Int64? @discardableResult func scanString(_ string: String, into ptr: UnsafeMutablePointer<String?>?) -> Bool func scanUInt64() -> UInt64? @discardableResult func scanUpTo(_ string: String, into ptr: UnsafeMutablePointer<String?>?) -> Bool @discardableResult func scanUpToCharacters(from set: CharacterSet, into ptr: UnsafeMutablePointer<String?>?) -> Bool func scanUpToCharactersFromSet(_ set: CharacterSet) -> String? protocol EquatableA type that can be compared for value equality.
protocol Hashable : EquatableA type that can be hashed into a Hasher to produce an integer hash value.
protocol SendableA thread-safe type whose values can be shared across arbitrary concurrent contexts without introducing a risk of data races. Values of the type may have no shared mutable state, or they may protect that state with a lock or by forcing it to only be accessed from a specific actor.
static func != (lhs: Self, rhs: Self) -> Bool Returns a Boolean value indicating whether two values are not equal.