Open ClassFoundation5.9.0
Scanner
class Scanner
Superclasses
class NSObject
The root class of most Foundation class hierarchies.
Citizens in Foundation
Conformances
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol NSCopying
The
NSCopying
protocol declares a method for providing functional copies of an object. The exact meaning of “copy” can vary from class to class, but a copy must be a functionally independent object with values identical to the original at the time the copy was made.protocol NSObjectProtocol
The
NSObjectProtocol
groups methods that are fundamental to all Foundation objects.
Members
init(string: String
) class func localizedScanner(with: String
) -> Any var caseSensitive: Bool
var charactersToBeSkipped: CharacterSet?
var currentIndex: String.Index
var isAtEnd: Bool
var locale: Any?
var scanLocation: Int
var string: String
func copy(
) -> Any func copy(with: NSZone?
) -> Any func scanCharacter(
) -> Character? func scanCharacters(from: CharacterSet
) -> String? func scanDecimal(
) -> Decimal? func scanDecimal(inout Decimal
) -> Bool func scanDouble(UnsafeMutablePointer
<Double>) -> Bool func scanDouble(representation: Scanner.NumberRepresentation
) -> Double? func scanFloat(UnsafeMutablePointer
<Float>) -> Bool func scanFloat(representation: Scanner.NumberRepresentation
) -> Float? func scanHexDouble(UnsafeMutablePointer
<Double>) -> Bool func scanHexFloat(UnsafeMutablePointer
<Float>) -> Bool func scanHexInt32(UnsafeMutablePointer
<UInt32>) -> Bool func scanHexInt64(UnsafeMutablePointer
<UInt64>) -> Bool func scanInt(UnsafeMutablePointer
<Int>) -> Bool func scanInt(representation: Scanner.NumberRepresentation
) -> Int? func scanInt32(UnsafeMutablePointer
<Int32>) -> Bool func scanInt32(representation: Scanner.NumberRepresentation
) -> Int32? func scanInt64(UnsafeMutablePointer
<Int64>) -> Bool func scanInt64(representation: Scanner.NumberRepresentation
) -> Int64? func scanString(String
) -> String? func scanUInt64(representation: Scanner.NumberRepresentation
) -> UInt64? func scanUnsignedLongLong(UnsafeMutablePointer
<UInt64>) -> Bool func scanUpToCharacters(from: CharacterSet
) -> String? func scanUpToString(String
) -> String? enum NumberRepresentation
func scanCharacters(from: CharacterSet, into: UnsafeMutablePointer<String?>?
) -> Bool func scanCharactersFromSet(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? func scanString(String, into: UnsafeMutablePointer<String?>?
) -> Bool func scanUInt64(
) -> UInt64? func scanUpTo(String, into: UnsafeMutablePointer<String?>?
) -> Bool func scanUpToCharacters(from: CharacterSet, into: UnsafeMutablePointer<String?>?
) -> Bool func scanUpToCharactersFromSet(CharacterSet
) -> String?