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.

  • AI-generated apps that pass security review Icon
    AI-generated apps that pass security review

    Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

    Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
    Try Retool free
  • 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
  • 1
    Swift AI

    Swift AI

    The Swift machine learning library

    Swift AI is a high-performance deep learning library written entirely in Swift. We currently offer support for all Apple platforms, with Linux support coming soon. Swift AI includes a collection of common tools used for artificial intelligence and scientific applications. A flexible, fully-connected neural network with support for deep learning. Optimized specifically for Apple hardware, using advanced parallel processing techniques. We've created some example projects to demonstrate the usage of Swift AI. Each resides in their own repository and can be built with little or no configuration. Each module now contains its own documentation. We recommend that you read the docs carefully for detailed instructions on using the various components of Swift AI. The example projects are another great resource for seeing real-world usage of these tools. Swift AI currently depends on Apple's Accelerate framework for vector/matrix calculations and digital signal processing.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 2
    SwiftChart

    SwiftChart

    Line and area chart library for iOS

    Line and area chart library for iOS. The chart can be initialized from the Interface Builder. Drag a normal View into a View Controller and assign to it the Chart Custom Class from the Identity Inspector. As you can see, as default the values on the x-axis are the progressive indexes of the passed array. You can customize those values by passing an array of (x: Double, y: Double) tuples to the series initializer. Use the chart.xLabels property to make the x-axis showing more labels than those inferred from the actual data. To make the chart respond to touch events, implement the ChartDelegate protocol in your class, e.g. a View Controller, and then set the chart’s delegate property.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 3
    SwiftOCR

    SwiftOCR

    Fast and simple OCR library written in Swift

    SwiftOCR is a fast and simple OCR library written in Swift. It uses a neural network for image recognition. As of now, SwiftOCR is optimized for recognizing short, one-line long alphanumeric codes (e.g. DI4C9CM). We currently support iOS and OS X. If you want to recognize normal text like a poem or a news article, go with Tesseract, but if you want to recognize short, alphanumeric codes (e.g. gift cards), I would advise you to choose SwiftOCR because that's where it exceeds. Tesseract is written in C++ and over 30 years old. To use it you first have to write a Objective-C++ wrapper for it. The main issue that's slowing down Tesseract is the way memory is managed. Too many memory allocations and releases slow it down.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 4
    SwiftUI Drawer

    SwiftUI Drawer

    A SwiftUI bottom-up controller, like in the Maps app

    SwiftUI Drawer is a UI component that implements a draggable bottom sheet interface similar to those found in modern mobile apps like Apple Maps, enabling users to expand or collapse content panels interactively. It is built entirely using SwiftUI, leveraging declarative patterns to define layout behavior and interactions in a concise and flexible way. The component allows developers to specify multiple resting heights, giving the drawer different states that users can snap to when dragging. It integrates seamlessly into existing layouts using a ZStack structure, where the drawer sits above other content and responds to gestures naturally. The library includes support for animations and haptic feedback, enhancing the tactile feel of interactions and improving user experience. It also provides customization options such as alignment, width, and responsive layout adjustments depending on device orientation or screen size.
    Downloads: 0 This Week
    Last Update:
    See Project
  • Go From AI Idea to AI App Fast Icon
    Go From AI Idea to AI App Fast

    One platform to build, fine-tune, and deploy ML models. No MLOps team required.

    Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
    Try Free
  • 5
    TKSubmitTransition

    TKSubmitTransition

    Animated UIButton of Loading Animation and Transition Animation

    Animated UIButton of loading animation and transition animation. As you can see in the GIF animation demo, you can find the “sign in” button rolling and after that, the next UIViewController will fade in.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 6
    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: 0 This Week
    Last Update:
    See Project
  • 7
    Tiny Constraints

    Tiny Constraints

    Nothing but sugar

    TinyConstraints is the syntactic sugar that makes Auto Layout sweeter for human use.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 8
    Tokamak

    Tokamak

    Framework for building browser apps with WebAssembly

    Tokamak is an open source framework that aims to replicate a large portion of Apple’s SwiftUI API in order to enable developers to build user interfaces that can run in the browser through WebAssembly as well as on native platforms. It provides a declarative programming model similar to SwiftUI, allowing developers to define views, state, and layout logic using familiar patterns while targeting environments beyond Apple’s ecosystem. The project includes a DOM renderer capable of handling a subset of SwiftUI views and modifiers, alongside additional constructs such as custom HTML rendering for greater flexibility when interacting with web technologies. Tokamak also introduces features like dynamic HTML elements with event listeners and direct DOM manipulation capabilities, which bridge the gap between Swift abstractions and browser-level control. Its architecture draws inspiration from modern UI frameworks.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 9
    TweenKit

    TweenKit

    Animation library for iOS in Swift

    TweenKit is a powerful animation library that allows you to animate (or 'tween') anything. TweenKit's animations are also scrubbable, perfect for building awesome onboarding experiences! By adding conformance to the Tweenable protocol, anything can be animated. You decide what it means to 'tween' your object, making this a flexible approach.
    Downloads: 0 This Week
    Last Update:
    See Project
  • Full-stack observability with actually useful AI | Grafana Cloud Icon
    Full-stack observability with actually useful AI | Grafana Cloud

    Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

    Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
    Create free account
  • 10
    XCoordinator

    XCoordinator

    Powerful navigation library for iOS based on the coordinator pattern

    Powerful navigation library for iOS based on the coordinator pattern. Create an enum with all of the navigation paths for a particular flow, i.e. a group of closely connected scenes. (It is up to you when to create a Route/Coordinator. As our rule of thumb, create a new Route/Coordinator whenever a new root view controller, e.g. a new navigation controller or a tab bar controller, is needed.). Whereas the Route describes which routes can be triggered in a flow, the Coordinator is responsible for the preparation of transitions based on routes being triggered. We could, therefore, prepare multiple coordinators for the same route, which differ in which transitions are executed for each route.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 11
    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: 0 This Week
    Last Update:
    See Project
  • 12
    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: 0 This Week
    Last Update:
    See Project
  • 13
    iOS Interview Questions

    iOS Interview Questions

    iOS interview questions

    This repository collects a broad, categorized list of interview questions (with expected answers) that are commonly asked in iOS or Swift engineering interviews. Topics range from language fundamentals (memory management, ARC, value vs. reference types), to UIKit/SwiftUI, concurrency, Grand Central Dispatch, background execution, networking, design patterns, system frameworks, and architecture decisions. Each question is usually backed by sample explanations or code snippets, helping candidates understand not just what to answer but why it matters and how to reason about tradeoffs. Because the repo is maintained, it evolves to reflect changes in the iOS ecosystem: for example, newer Swift concurrency, Combine, SwiftUI, structured concurrency, or recent platform APIs. Many interviewers and candidates use it as a structured prep tool: reviewing categories, doing mock answers, or drilling tricky concepts.
    Downloads: 0 This Week
    Last Update:
    See Project
MongoDB Logo MongoDB