Structure
IntegerParseStrategy
iOS 15.0+
iPadOS 15.0+
Mac Catalyst 15.0+
macOS 12.0+
tvOS 15.0+
watchOS 8.0+
A parse strategy for creating integer values from formatted strings.
struct IntegerParseStrategy<Format> where Format : FormatStyle, Format.FormatInput : BinaryInteger
Topics
Initializers
init(format:lenient:)Creates a parse strategy instance using the specified integer format style.init(from: any Decoder) throws
Instance Properties
var formatStyle: FormatThe format style this strategy uses when parsing strings.var lenient: BoolA Boolean value that indicates whether parsing allows any discrepencies in the expected format.
Default Implementations
Relationships
Conforms To
ParseStrategySwift.CopyableSwift.DecodableSwift.EncodableSwift.EquatableSwift.EscapableSwift.HashableSwift.SendableSwift.SendableMetatype