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.

  • Build Agents and Models on One Platform Icon
    Build Agents and Models on One Platform

    Everything you need to build production-ready agents and models. Access 200+ Google and third-party AI models and tools.

    Gemini Enterprise Agent Platform is Google Cloud's comprehensive platform for developers to build, scale, govern, and optimize agents and models. Choose from Google's most advanced models and third-party models like Anthropic's Claude Model Family.
    Start Free
  • $300 Free Credits to Build on Google Cloud Icon
    $300 Free Credits to Build on Google Cloud

    New customers can spin up VMs, build with AI, and query data at no cost.

    Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
    Start Free
  • 1
    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: 31 This Week
    Last Update:
    See Project
  • 2
    Files

    Files

    A nicer way to handle files & folders in Swift

    Files is a lightweight Swift library that provides a more expressive and user-friendly interface for working with files and directories compared to the native FileManager API. It abstracts common file system operations into an object-oriented model, enabling developers to interact with files and folders using intuitive constructs such as Folder and File types. The library simplifies tasks like reading, writing, moving, renaming, and deleting files while maintaining robust error handling through Swift’s try-catch mechanisms. It also supports recursive traversal of directory structures, making it easy to iterate through file trees for scripting or automation purposes. Designed primarily for Swift scripting and tooling, Files can also be embedded into applications that require file system access. Its implementation is compact and efficient, often contained within a single file, which makes it easy to integrate into projects without adding unnecessary complexity.
    Downloads: 17 This Week
    Last Update:
    See Project
  • 3
    Ollama Swift Client

    Ollama Swift Client

    A Swift client library for interacting with Ollama

    Ollama Swift Client is a native Swift client library that enables developers to interact with Ollama models directly from Apple platforms such as macOS, iOS, and iPadOS. It is designed to feel natural within the Swift ecosystem, using modern language features like async/await and strong typing to provide a clean and intuitive developer experience. The library wraps the Ollama REST API into structured Swift calls, making it easy to perform tasks such as chat completion, text generation, and embeddings without dealing with raw HTTP requests. It supports streaming responses, allowing applications to display generated content progressively, which is especially useful for chat interfaces. The project emphasizes simplicity and integration with native app development, making it ideal for building AI-powered mobile or desktop applications that leverage local models.
    Downloads: 15 This Week
    Last Update:
    See Project
  • 4
    DeepDiff

    DeepDiff

    Amazingly incredible extraordinary lightning fast diffing in Swift

    DeepDiff is a Swift library for efficiently calculating differences between collections and models. It is designed for iOS, macOS, and Swift developers who need fast diffing when updating lists, tables, collection views, or other ordered data displays. The library relies on models conforming to a diff-aware protocol so items can be uniquely identified and compared. This makes it useful for deciding which elements were inserted, deleted, moved, or replaced between two versions of a dataset. DeepDiff helps reduce unnecessary UI reloads by making updates more targeted and animation-friendly. The repository is archived, so it is best treated as a stable reference or legacy dependency rather than an actively evolving Swift package.
    Downloads: 14 This Week
    Last Update:
    See Project
  • Veeam Data Platform v13.1 - Get Your Free Trial Icon
    Veeam Data Platform v13.1 - Get Your Free Trial

    Secure by design, portable by default. Recover clean, fast, anywhere. Start a free trial.

    Try Veeam Data Platform today. Experience the unified platform that's secure by design, portable by default, and proven to recover clean, fast, and anywhere.
    Try it Free
  • 5
    MultiProgressView

    MultiProgressView

    An animatable view that depicts multiple progresses over time

    MultiProgressView is an iOS UI component that provides an advanced progress visualization system capable of displaying multiple progress segments within a single view. Modeled after the native UIProgressView, it extends functionality by allowing developers to represent multiple concurrent progress values in a segmented format. The component is fully animatable, enabling smooth transitions when progress values change over time, which enhances the visual feedback for users. It uses a data source protocol to define the number of sections and their appearance, giving developers fine-grained control over how each segment is rendered. The library supports both programmatic and storyboard-based integration, making it flexible for different development workflows. It also includes extensive customization options such as colors, borders, labels, and layout properties, allowing developers to tailor the component to match their application’s design.
    Downloads: 11 This Week
    Last Update:
    See Project
  • 6
    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: 11 This Week
    Last Update:
    See Project
  • 7
    AlertKit

    AlertKit

    Native alert from Apple Music & Feedback

    AlertKit is an open source Swift library designed to replicate the native alert and feedback popups seen in Apple Music and the App Store, giving iOS developers a simple way to integrate polished, system-like notifications into their applications. It focuses on delivering visually consistent and animated alert components that closely match Apple’s design language, including styles inspired by iOS 16 and iOS 17 system interfaces. The library supports both UIKit and SwiftUI, making it flexible for developers working across different iOS UI frameworks while maintaining a unified implementation approach. AlertKit provides predefined alert types such as success, error, heart, and message indicators, along with built-in haptic feedback to enhance the user experience and mimic native system interactions. Developers can easily present and dismiss alerts programmatically, and the API is structured to allow both quick usage and deeper customization when needed.
    Downloads: 10 This Week
    Last Update:
    See Project
  • 8
    AlertToast-SwiftUI

    AlertToast-SwiftUI

    Create Apple-like alerts & toasts using SwiftUI

    AlertToast is a SwiftUI-based library that enables developers to display lightweight, non-intrusive notifications and alerts that resemble native Apple system interactions. Unlike traditional alerts that require user confirmation, this library allows for transient messages that automatically dismiss, improving user experience for status updates such as success messages, loading indicators, or errors. It provides multiple display modes including centered alerts, top drop-down HUDs, and bottom banners, giving developers flexibility in how feedback is presented. The library includes several predefined alert types such as complete, error, loading, and image-based notifications, all designed to match Apple’s visual language. It is fully customizable, allowing developers to adjust fonts, colors, and content while maintaining consistency with the system aesthetic.
    Downloads: 10 This Week
    Last Update:
    See Project
  • 9
    GlitchLabel

    GlitchLabel

    Glitching UILabel for iOS

    GlitchLabel is an iOS UI component written in Swift that allows developers to create visually striking glitch-style text animations inspired by digital distortion effects often seen in cyberpunk or retro-futuristic design aesthetics. It works as a custom UILabel subclass that overlays multiple text layers and applies timed transformations such as offsets, color shifts, and clipping to simulate a glitch effect in real time. The component is lightweight and designed to integrate easily into UIKit-based applications without requiring complex setup or external dependencies. Developers can customize parameters such as animation duration, glitch frequency, displacement intensity, and color variations to match specific branding or visual requirements. The library focuses on delivering smooth animations while maintaining performance efficiency, making it suitable for use in splash screens, loading states, or attention-grabbing UI elements.
    Downloads: 10 This Week
    Last Update:
    See Project
  • Paessler: Easy to Use With Enterprise Power. Free Trial Icon
    Paessler: Easy to Use With Enterprise Power. Free Trial

    A low-code dashboard makes monitoring intuitive for any admin, while scripting and custom sensors give experts full control.

    You shouldn't have to choose between a monitoring tool that's easy to use and one that's powerful enough for a complex environment. PRTG's low-code interface lets any admin build dashboards, set alerts and monitor devices without scripting, while custom sensors and full API access are there when your team needs deeper control. One platform, no compromise. Download a free 30-day trial now.
    Get Free Download
  • 10
    Kingfisher

    Kingfisher

    Lightweight, pure-Swift library for downloading images from the web

    Kingfisher is a powerful, pure-Swift library for downloading and caching images from the web. It provides you a chance to use a pure-Swift way to work with remote images in your next app. Asynchronous image downloading and caching. Loading image from either URLSession-based networking or local provided data. Useful image processors and filters provided. Multiple-layer hybrid cache for both memory and disk. Fine control on cache behavior. Customizable expiration date and size limit. Cancelable downloading and auto-reusing previous downloaded content to improve performance. Independent components. Use the downloader, caching system, and image processors separately as you need. Prefetching images and showing them from the cache to boost your app. View extensions for UIImageView, NSImageView, NSButton and UIButton to directly set an image from a URL. Built-in transition animation when setting images. Customizable placeholder and indicator while loading images.
    Downloads: 4 This Week
    Last Update:
    See Project
  • 11
    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: 3 This Week
    Last Update:
    See Project
  • 12
    Swift Macros

    Swift Macros

    A curated list of awesome Swift Macros

    Swift Macros is a curated collection of Swift macro resources, tools, examples, and learning material. It is intended for developers who want to understand, build, test, and distribute Swift macros in modern Swift projects. The repository gathers community-created macros alongside frameworks, articles, Apple resources, tutorials, and related tooling. Its structure makes it easier to discover practical macro use cases without searching across scattered blog posts and packages. It is especially valuable for developers moving from code-generation tools toward Swift’s built-in macro system. Swift-Macros is not a single library, but a reference hub for learning the Swift macro ecosystem and finding useful implementation patterns.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 13
    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: 1 This Week
    Last Update:
    See Project
  • 14
    Google Toolbox for Mac

    Google Toolbox for Mac

    Google Toolbox for Mac

    Google Toolbox for Mac (GTMSession) is a comprehensive collection of open source Objective-C utilities and frameworks developed by Google to support macOS and iOS application development. It consolidates reusable code components drawn from various internal Google projects, offering developers a wide range of tools for building efficient, maintainable Apple platform software. The library includes modules for networking, logging, testing, data handling, and user interface extensions, helping developers avoid reinventing common functionality. Its modular design allows developers to integrate only the components they need, improving project flexibility and performance. With well-documented interfaces and consistent coding standards, Google Toolbox for Mac serves as a reliable foundation for both small and large-scale applications. It continues to be widely used across open source and internal projects that target Apple ecosystems.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 15
    HandyJSON

    HandyJSON

    A handy swift json-object serialization/deserialization library

    HandyJSON is a framework written in Swift which makes converting model objects( pure classes/structs ) to and from JSON easy on iOS. Compared with others, the most significant feature of HandyJSON is that it does not require the objects inherit from NSObject(not using KVC but reflection), nor implements a 'mapping' function(writing value to memory directly to achieve property assignment). HandyJSON is totally dependent on the memory layout rules inferred from Swift runtime code. We are watching it and will follow every bit if it changes. To support deserialization from JSON, a class/struct needs to conform to 'HandyJSON' protocol. It's truly protocol, not some class inherited from NSObject. For struct, since the compiler provides a default empty initializer, we use it for free. HandyJSON supports deserialization from the designated path of JSON.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 16
    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: 1 This Week
    Last Update:
    See Project
  • 17
    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
  • 18
    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: 1 This Week
    Last Update:
    See Project
  • 19
    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: 1 This Week
    Last Update:
    See Project
  • 20
    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
  • 21
    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: 1 This Week
    Last Update:
    See Project
  • 22
    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: 0 This Week
    Last Update:
    See Project
  • 23
    About SwiftUI

    About SwiftUI

    Gathering all info published, both by Apple and by others

    About SwiftUI is a curated reference repository that gathers documentation, tutorials, videos, libraries, examples, and other resources related to Apple’s SwiftUI framework. It was created to provide developers with a single place to discover material that would otherwise be spread across many sources. Official Apple documentation and WWDC sessions are organized alongside community-created content. The collection includes books, courses, articles, testing resources, Xcode extensions, repositories, and application examples. Topics span layouts, navigation, animations, data flow, accessibility, Combine, architecture, and integration with UIKit and AppKit. Community contributions continually expand the directory with new SwiftUI learning resources. The project functions as a discovery catalog rather than a Swift package or application.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 24
    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: 0 This Week
    Last Update:
    See Project
  • 25
    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: 0 This Week
    Last Update:
    See Project
  • Previous
  • You're on page 1
  • 2
  • 3
  • Next