Instance Methodswift 6.0.3FoundationInternationalization
parse(_:)
- iOS
- 15.0+
- macOS
- 12.0+
- tvOS
- 15.0+
- watchOS
- 8.0+
func parse(_ value: String) throws -> Format.FormatInput
func parse(_ value: String) throws -> Format.FormatInput
s30FoundationInternationalization26FloatingPointParseStrategyV5parsey11FormatInputQzSSKF
What are these?5Y4ZV
where Format:FormatStyle, Format.FormatInput:BinaryFloatingPoint
import FoundationInternationalization
struct FloatingPointParseStrategy<Format> where Format : FormatStyle, Format.FormatInput : BinaryFloatingPoint
@frozen struct String
A Unicode string value that is a collection of characters.
associatedtype FormatInput
The type of data to format.
protocol FormatStyle : Decodable, Encodable, Hashable
A type that can convert a given data type into a representation.
protocol BinaryFloatingPoint : ExpressibleByFloatLiteral, FloatingPoint
A radix-2 (binary) floating-point type.
init<Value>(format: Format, lenient: Bool = true) where Format == FloatingPointFormatStyle<Value>.Percent, Value : BinaryFloatingPoint
init<Value>(format: Format, lenient: Bool = true) where Format == FloatingPointFormatStyle<Value>.Currency, Value : BinaryFloatingPoint
init<Value>(format: Format, lenient: Bool = true) where Format == FloatingPointFormatStyle<Value>, Value : BinaryFloatingPoint