Browse free open source Swift Libraries and projects below. Use the toggles on the left to filter open source Swift Libraries by OS, license, language, programming language, and project status.

  • MongoDB Atlas runs apps anywhere Icon
    MongoDB Atlas runs apps anywhere

    Deploy in 115+ regions with the modern database for every enterprise.

    MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
    Start Free
  • Orchestrate Your AI Agents with Zenflow Icon
    Orchestrate Your AI Agents with Zenflow

    The multi-agent workflow engine for modern teams. Zenflow executes coding, testing, and verification with deep repo awareness

    Zenflow orchestrates AI agents like a real engineering system. With parallel execution, spec-driven workflows, and deep multi-repo understanding, agents plan, implement, test, and verify end-to-end. Upgrade to AI workflows that work the way your team does.
    Try free now
  • 1
    Inject

    Inject

    Hot Reloading for Swift applications

    Hot reloading workflow helper that enables you to save hours of time each week, regardless if you are using UIKit, AppKit or SwiftUI. Hot reloading is a technique allowing you to get rid of compiling your whole application and avoiding deploy/restart cycles as much as possible, all while allowing you to edit your running application code and see changes reflected as close as possible to real-time. This makes you significantly more productive by reducing the time you spend waiting for apps to rebuild, restart, re-navigate to the previous location where you were in the app itself, re-produce the data you need. You don’t need to add conditional compilation or remove Inject code from your applications for production, it's already designed to behave as no-op inlined code that will get stripped by LLVM in non-debug builds.
    Downloads: 6 This Week
    Last Update:
    See Project
  • 2
    daisyUI 4

    daisyUI 4

    The most popular, free and open-source Tailwind CSS component library

    The most popular, free, and open-source component library for Tailwind CSS.daisyUI adds component class names to Tailwind CSS so you can make beautiful websites faster than ever. In a Tailwind CSS project, you need to write utility class names for every element. Thousands of class names just to style the most basic elements.
    Downloads: 5 This Week
    Last Update:
    See Project
  • 3
    FluentDarkModeKit

    FluentDarkModeKit

    A library for backporting Dark Mode in iOS

    FluentDarkModeKit was designed and developed before Apple‘s official dark mode release. It provides a mechanism to support dark mode for apps on iOS 11+ (including iOS 13). To use FluentDarkModeKit, provide a pair of colors or images instead of a single value. Simply replace existing colors/images with a pair of light and dark colors/images.
    Downloads: 4 This Week
    Last Update:
    See Project
  • 4
    Himotoki

    Himotoki

    A type-safe JSON decoding library purely written in Swift

    Himotoki is a type-safe JSON decoding library written purely in Swift. This library is highly inspired by the popular Swift JSON parsing libraries: Argo and ObjectMapper.
    Downloads: 4 This Week
    Last Update:
    See Project
  • Our Free Plans just got better! | Auth0 Icon
    Our Free Plans just got better! | Auth0

    With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

    You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
    Try free now
  • 5
    Cache

    Cache

    Nothing but Cache

    Cache doesn't claim to be unique in this area, but it's not another monster library that gives you a god's power. It does nothing but caching, but it does it well. It offers a good public API with out-of-box implementations and great customization possibilities. Cache utilizes Codable in Swift 4 to perform serialization. The cache is built based on a Chain-of-responsibility pattern, in which there are many processing objects, each knows how to do 1 task and delegates to the next one, so can you compose Storage the way you like. All Storage now are generic by default, so you can get a type of safety experience. Once you create a Storage, it has a type constraint that you don't need to specify a type for each operation afterward.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 6
    Hero iOS

    Hero iOS

    Elegant transition library for iOS & tvOS

    Hero is a library for building iOS view controller transitions. It provides a declarative layer on top of the UIKit’s cumbersome transition APIs—making custom transitions an easy task for developers. Hero is similar to Keynote’s Magic Move. It checks the heroID property on all source and destination views. Every matched view pair is then automatically transitioned from its old state to its new state. Hero can also construct animations for unmatched views. It is easy to define these animations via the heroModifiers property. Hero will run these animations alongside the Magic Move animations. All of these animations can be interactively controlled by user gestures. By default, Hero provides dynamic duration based on the Material Design Motion Guide. Duration is automatically determined by changes to distance and size—saving you the hassle, while providing consistent and delightful animations.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 7
    KMM ViewModel

    KMM ViewModel

    Library to share Kotlin ViewModels with SwiftUI

    A library that allows you to share ViewModels between Android and iOS. The latest version of the library uses Kotlin version 1.9.22. Compatibility versions for older and/or preview Kotlin versions are also available. When subclassing your Kotlin ViewModel in Swift you might experience some issues in the way those ViewModels are cleared. Since currentTimeFlow is a StateFlow we don't ever expect it to fail, which is why we are using the assertNoFailure. However, in this case you'll notice that the publisher will fail with a JobCancellationException. The problem here is that before the TimeTravelViewModel is deinited it will already be cleared. Meaning the viewModelScope is cancelled and onCleared is called. This results in the Combine publisher outliving the underlying StateFlow collection.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 8
    XcodeProj

    XcodeProj

    Read, update and write your Xcode projects

    XcodeProj is a library written in Swift for parsing and working with Xcode projects. It's heavily inspired by CocoaPods XcodeProj and xcode. Using swift-sh you can automate project-tasks using scripts, for example, we can make a script that keeps a project’s version key in sync with the current git tag that represents the project’s version. Future adaption could easily include determining the version and bumping it automatically. If so, we recommend using a library that provides a Version object. Want to start using XcodeProj? Start by digging into our documentation which will help you get familiar with the API and get to know more about the Xcode projects structure.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 9
    AAChartKit Swift

    AAChartKit Swift

    An elegant modern declarative data visualization chart framework

    An elegant modern declarative data visualization chart framework for iOS, iPadOS and macOS. Extremely powerful, supports line, spline, area, areaspline, column, bar, pie, scatter, angular gauges, arearange, areasplinerange, columnrange, bubble, box plot, error bars, funnel, waterfall and polar chart types. AAInfographics is the Swift language version of AAChartKit which is object-oriented, a set of easy-to-use, extremely elegant graphics drawing controls,based on the popular open source front-end chart library Highcharts. It makes it very fast to add interactive charts to your mobile projects. It supports single touch-drag for data inspection, multi-touch for zooming, and advanced responsiveness for your apps. Unlike previous imperative programming techniques, drawing any custom chart in AAChartKit, you don't need to care about the inner implementation details which is annoying && boring. Describe what you want, you will get what you described.
    Downloads: 2 This Week
    Last Update:
    See Project
  • Build Securely on Azure with Proven Frameworks Icon
    Build Securely on Azure with Proven Frameworks

    Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

    Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
    Download Now
  • 10
    Airbnb Swift Style Guide

    Airbnb Swift Style Guide

    Airbnb's Swift Style Guide

    Airbnb's Swift Style Guide. Note that brevity is not a primary goal. Code should be made more concise only if other good code qualities (such as readability, simplicity, and clarity) remain equal or are improved. This repo includes a Swift Package Manager command plugin that you can use to automatically reformat or lint your package according to the style guide. To use this command plugin with your package, all you need to do is add this repo as a dependency.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 11
    CocoaMQTT

    CocoaMQTT

    MQTT 5.0 client library for iOS and macOS written in Swift

    MQTT v3.1.1 and v5.0 client library for iOS/macOS/tvOS written with Swift 5. IOS Target: 9.0 or above OSX Target: 10.12 or above TVOS Target: 10.0 or above. To integrate CocoaMQTT into your Xcode project using CocoaPods, you need to modify you Podfile. On your application targets “General” settings tab, in the "Frameworks, Libraries, and Embedded content" section, drag and drop CocoaMQTT.xcframework, CocoaAsyncSocket.xcframework and Starscream.xcframework from the Carthage/Build folder on disk. Then select "Embed & Sign".
    Downloads: 2 This Week
    Last Update:
    See Project
  • 12
    HaishinKit

    HaishinKit

    Camera and Microphone streaming library via RTMP and SRT for iOS, Mac

    Camera and Microphone streaming library via RTMP and SRT for iOS, macOS, tvOS and visionOS.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 13
    KeyboardKit

    KeyboardKit

    KeyboardKit is a Swift library that helps you build custom keyboard

    KeyboardKit helps you build custom keyboard extensions with Swift and SwiftUI. KeyboardKit is a Swift-based SDK that helps you build custom keyboard extensions with Swift and SwiftUI. It extends the native keyboard APIs and provides you with a lot of functionality. The KeyboardKit project is open-source and completely free. It's hosted at GitHub, which is where you find information, documentation, sample code, demo apps etc. KeyboardKit Pro is a license-based extension to KeyboardKit. It unlocks a bunch of pro features, like more locales, localized system keyboards, local and remote autocomplete etc. KeyboardKit comes with support for 50+ locales, with more being added over time. KeyboardKit has tools for customizing everything from keys, key behavior, layout, callout actions, audio & haptic feedback, colors and styling, autocomplete etc. The KeyboardKit app let you create keyboards directly on your iPhone and iPad.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 14
    Amazon Chime SDK for iOS

    Amazon Chime SDK for iOS

    An iOS client library for integrating multi-party communications

    The Amazon Chime SDK for iOS makes it easy to add collaborative audio calling, video calling, and screen share viewing features to iOS applications by using the same infrastructure services that power meetings on the Amazon Chime service. This Amazon Chime SDK for iOS works by connecting to meeting session resources that you have created in your AWS account. The SDK has everything you need to build custom calling and collaboration experiences in your iOS application, including methods to: configure meeting sessions, list, and select audio devices, switch video devices, start and stop screen share viewing, and receive callbacks when media events occur such as volume changes, and manage meeting features such as audio mute and video tile bindings. You can integrate Amazon Chime SDK in your project from either CocoaPods or binaries through Github release.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 15
    BFKit-Swift

    BFKit-Swift

    BFKit-Swift is a collection of useful classes, structs and extensions

    BFKit-Swift is a collection of useful classes, structs, and extensions to develop Apps faster. For example, you can use every iOS font with just an enum! It also adds some useful functions with Custom classes and extends Foundation, UIKit, AppKit and WatchKit classes.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 16
    Design Patterns in Swift

    Design Patterns in Swift

    Design Patterns implemented in Swift

    Design-Patterns-In-Swift is a repository that translates classic software engineering design patterns (from sources like the Gang of Four) into Swift code examples, so you can see how those patterns look in a modern, strongly typed, object-/protocol-oriented language. It covers creational, structural, and behavioral patterns: singletons, factories, decorators, observers, strategy, command, mediator, and more. For each pattern, you’ll typically see one or more Swift implementations, commentary on where it makes sense in a Swift architecture, and caveats about when you might prefer pure protocol composition or using functional patterns instead. The examples aim to be readable and idiomatic—not overly abstract or contrived—so developers can adopt or adapt them directly.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 17
    Jelly

    Jelly

    Library for animated, non-interactive & interactive transitions

    Jelly is a library for animated, non-interactive & interactive view controller transitions and presentations with a focus on a simple yet flexible API. With a few lines of source code, interactive UIViewController transitions and custom resizable UIViewController presentations can be created, without the use of the cumbersome UIKit Transitioning API. Interactive transitions can be activated for the slide and the cover transitions. If the transitions are to be interactive, only an InteractionConfiguration object has to be passed to the presentation. Here 3 parameters play an important role. First, the completion threshold, determines the percentage of the animation that is automatically completed as soon as the user finishes the interaction. The second parameter is the actual type of interaction. Jelly offers the .edge and the .canvas type. In a .edge transition, the user must execute the gesture from the edge of the screen.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 18
    LayoutKit

    LayoutKit

    LayoutKit is a fast view layout library for iOS, macOS, and tvOS

    LayoutKit is a fast view layout library for iOS, macOS, and tvOS. LinkedIn created LayoutKit because we have found that Auto Layout is not performant enough for complicated view hierarchies in scrollable views. LayoutKit is as fast as manual layout code and is significantly faster than Auto Layout.Layouts can be computed in a background thread so user interactions are not interrupted. Layouts are declared with immutable data structures. This makes layout code easier to develop, document, code review, test, debug, profile, and maintain. Layout results are immutable data structures so they can be precomputed in the background and cached to increase user perceived performance.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 19
    Popovers

    Popovers

    A library to present popovers. Simple, modern, and highly customizable

    A library to present popovers. Present any view above your app's main content. Attach to source views or use picture-in-picture positioning. Display multiple popovers at the same time with smooth transitions. Supports SwiftUI, UIKit, and multitasking windows on iPadOS. Highly customizable API that's super simple — just add .popover. Drop-in replacement for iOS 14's Menu that works on iOS 13. SwiftUI-based core for a lightweight structure. 0 dependencies. It's 2023 — about time that popovers got interesting!
    Downloads: 1 This Week
    Last Update:
    See Project
  • 20
    Runtime

    Runtime

    A Swift Runtime library for viewing type info

    A Swift Runtime library for viewing type info, and the dynamic getting and setting of properties. Runtime is a Swift library to give you more runtime abilities, including getting type metadata, setting properties via reflection, and type construction for native swift objects. TypeInfo exposes metadata about native Swift structs, protocols, classes, tuples and enums. It captures the properties, generic types, inheritance levels, and more.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 21
    Sheeeeeeeeet

    Sheeeeeeeeet

    Sheeeeeeeeet is a Swift library for creating menus

    Sheeeeeeeeet is a UIKit library that lets you create menus that can be presented as custom action sheets, context menus, alert controllers, or in any way you like. Sheeeeeeeeet comes with many item types (standard items, buttons, titles, toggles, etc.) and can be extended with your own custom item types. Since I have personally moved over to SwiftUI, this repository is no longer under active development. I will however gladly merge any PRs that add value to it or fixes problems with new iOS versions.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 22
    SnapKit

    SnapKit

    A Swift Autolayout DSL for iOS & OS X

    SnapKit is a Swift DSL that simplifies Auto Layout for iOS and macOS. It uses expressive chaining syntax to create layout constraints in code more cleanly and concisely than native APIs. Compatible with Swift Package Manager, CocoaPods, and Carthage—used extensively in iOS/macOS UI development.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 23
    Starscream

    Starscream

    Websockets in swift for iOS and OSX

    Starscream is a conforming WebSocket (RFC 6455) library in Swift. Once imported, you can open a connection to your WebSocket server. Note that socket is probably best as a property, so it doesn't get deallocated right after being setup. After you are connected, there is either a delegate or closure you can use for process WebSocket events. The writeData method gives you a simple way to send Data (binary) data to the server. The writeString method is the same as writeData, but sends text/string. The writePing method is the same as write, but sends a ping control frame. Starscream will automatically respond to incoming ping control frames so you do not need to manually send pongs. You can override the default websocket headers, add your own custom ones and set a timeout. Update docs on how to load certificates and public keys into an app bundle, use the builtin pinner and TrustKit.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 24
    Time

    Time

    Type-safe time calculations in Swift

    Type-safe time calculations in Swift. Time is not just a bunch of Double conversion functions. The main advantage of it is that all time units are strongly-typed. Starting with Xcode 11, Time is officially available only via Swift Package Manager. Of course, you always have an option of just copying-and-pasting the code - Time is just two files, so feel free.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 25
    Vision Camera

    Vision Camera

    The Camera library that sees the vision

    VisionCamera was designed from the ground up to provide all features a camera app should have. You have full control over what device is used, and can even configure options such as frame rate, colorspace, and more. While having a lot of features, VisionCamera makes sure you don't get overwhelmed from the beginning. It provides hooks and functions to help you get started faster, and if you need full control, you can easily do that. Every functionality has been thoroughly documented and even errors are fully typed. Use TypeScript to get compile-time feedback on what has gone wrong.
    Downloads: 1 This Week
    Last Update:
    See Project
  • Previous
  • You're on page 1
  • 2
  • 3
  • Next