SortedSet
is a native Swift sorted set. It's a Set
that keeps your elements in sorted order.
You can build SortedSet
using the Swift Package Manager. Just include OrderedSet
as a package in your dependencies:
.package(url: "https://github.com/SendOutCards/SortedSet.git", .upToNextMajor(from: "6.0.0")),
Be sure to import the module at the top of your .swift files:
import SortedSet
Brad Hilton, brad@skyvive.com
SortedSet
is available under the MIT license. See the LICENSE file for more info.