Closed shotat closed 4 years ago
The orignai SegmentedControl can accept .noSegment, which represents no selection state. Indices in this library allows UInt type but .noSegment is a type of Int (actually -1).
SegmentedControl
.noSegment
UInt
Int
-1
Hi @shotat DId you find a solution to your question?
Support for this has been added as part of https://github.com/gmarm/BetterSegmentedControl/pull/142
The orignai
SegmentedControl
can accept.noSegment
, which represents no selection state. Indices in this library allowsUInt
type but.noSegment
is a type ofInt
(actually-1
).