Initializerswift 6.0.3FoundationInternationalization
init(format:lenient:)
- iOS
- 15.0+
- macOS
- 12.0+
- tvOS
- 15.0+
- watchOS
- 8.0+
init<Value>(format: Format, lenient: Bool = true) where Format == IntegerFormatStyle<Value>.Percent, Value : BinaryInteger
init<Value>(format: Format, lenient: Bool = true) where Format == IntegerFormatStyle<Value>.Percent, Value : BinaryInteger
s30FoundationInternationalization20IntegerParseStrategyV6format7lenientACyAA0C11FormatStyleV7PercentVyqd___GGAJ_SbtcAJRszSzRd__lufc
What are these?86X6Q
where Format:FormatStyle, Format.FormatInput:BinaryInteger
import FoundationInternationalization
struct IntegerParseStrategy<Format> where Format : FormatStyle, Format.FormatInput : BinaryInteger
@frozen struct Bool
A value type whose instances are either true
or false
.
struct IntegerFormatStyle<Value> where Value : BinaryInteger
struct Percent
protocol BinaryInteger : CustomStringConvertible, Hashable, Numeric, Strideable where Self.Magnitude : BinaryInteger, Self.Magnitude == Self.Magnitude.Magnitude
An integer type with a binary representation.
protocol FormatStyle : Decodable, Encodable, Hashable
A type that can convert a given data type into a representation.
init<Value>(format: Format, lenient: Bool = true) where Format == IntegerFormatStyle<Value>.Currency, Value : BinaryInteger
init<Value>(format: Format, lenient: Bool = true) where Format == IntegerFormatStyle<Value>, Value : BinaryInteger
func parse(_ value: String) throws -> Format.FormatInput