Swift Collection

Open-source Swift projects categorized as Collection

Top 4 Swift Collection Projects

  1. BouncyLayout

    Make. It. Bounce.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. swift-collections

    Commonly used data structures for Swift

    Project mention: Ropey – A UTF8 text rope for manipulating and editing large texts. in Rust | news.ycombinator.com | 2025-01-15

    If you'd like an example of how this can be done, Swift's AttributedString type is exactly that. It manages the association of runs of attributes (font, kerning, color, etc.) with Unicode text, and its backing storage uses a rope type provided by the swift-collections package. (The rope module itself isn't stabilized yet, so it's really only used for AttributedString at this point, AFAIK.)

    https://github.com/swiftlang/swift-foundation/tree/main/Sour...

    https://github.com/apple/swift-collections/tree/main/Sources...

  4. BTree

    Fast sorted collections for Swift using in-memory B-trees (by attaswift)

    Project mention: Smolderingly Fast B-Trees | news.ycombinator.com | 2024-10-07

    This post reminded me of this killer btree implementation for swift. The analysis on GitHub is fantastic and reads like a thriller novel :)

    https://github.com/attaswift/BTree#why

  5. SwiftConcurrentCollections

    Swift Concurrent Collections

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Swift Collection discussion

Log in or Post with

Swift Collection related posts

  • Dynamic sections in diffable table view data sources

    1 project | /r/swift | 8 Mar 2023
  • Why doesn't Swift have "unpredictable order" annotations to make it explicit in the code when the order of something is not predictable (e.g., when converting a set to a list)?

    1 project | /r/swift | 14 Oct 2022
  • Top swift libraries and why?

    2 projects | /r/swift | 10 Jun 2022
  • Transforming array to multidimensional array (2D)

    1 project | /r/iOSProgramming | 29 Apr 2022
  • SwiftConcurrentCollections now supports PriorityQueue and ConcurrentPriorityQueue!

    1 project | /r/swift | 6 Mar 2021
  • A note from our sponsor - SaaSHub
    www.saashub.com | 24 Jun 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Collection projects in Swift? This list will help you:

# Project Stars
1 BouncyLayout 4,254
2 swift-collections 4,081
3 BTree 1,320
4 SwiftConcurrentCollections 48

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com