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.

  • Earn up to 16% annual interest with Nexo. Icon
    Earn up to 16% annual interest with Nexo.

    Access competitive interest rates on your digital assets.

    Generate interest, borrow against your crypto, and trade a range of cryptocurrencies — all in one platform. Geographic restrictions, eligibility, and terms apply.
    Get started with Nexo.
  • Enterprise-grade ITSM, for every business Icon
    Enterprise-grade ITSM, for every business

    Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity.

    Freshservice is an intuitive, AI-powered platform that helps IT, operations, and business teams deliver exceptional service without the usual complexity. Automate repetitive tasks, resolve issues faster, and provide seamless support across the organization. From managing incidents and assets to driving smarter decisions, Freshservice makes it easy to stay efficient and scale with confidence.
    Try it Free
  • 1
    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: 5 This Week
    Last Update:
    See Project
  • 2
    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: 3 This Week
    Last Update:
    See Project
  • 3
    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
  • 4
    MaLiang

    MaLiang

    iOS painting and drawing library based on Metal

    MaLiang is a painting framework based on Metal. It supports drawing and handwriting with customized textures. The name of "MaLiang" comes from a boy who had a magical brush in a Chinese ancient fairy story. A Canvas is the basic component of MaLiang. You will paint all things on it. Canvas extends from MetalView, which extends from MTKView. MetalView handles all the logic with MetalKit and hides them from you. MaLiang supports the automatic adjustment of stroke size with painting force. 3D Touch is supported by default, and simulated force will be setup on devices that do not support this. forceSensitive is the property that force affects the stroke size. It should be set between 0 to 1. the smaller the value is, the less sensitive will be. if sets to 0, then force will not affect the stroke size.
    Downloads: 1 This Week
    Last Update:
    See Project
  • Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
    Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

    General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

    Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
    Try Free
  • 5
    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
  • 6
    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
  • 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: 0 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: 0 This Week
    Last Update:
    See Project
  • 9
    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
  • 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
  • 10
    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: 0 This Week
    Last Update:
    See Project
  • 11
    BulletinBoard

    BulletinBoard

    General-purpose contextual cards for iOS

    BulletinBoard is an iOS library that generates and manages contextual cards displayed at the bottom of the screen. It is especially well suited for quick user interactions such as onboarding screens or configuration. It has an interface similar to the cards displayed by iOS for AirPods, Apple TV/HomePod configuration and NFC tag scanning. It supports both the iPhone, iPhone X and the iPad. It has built-in support for accessibility features such as VoiceOver and Switch Control.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 12
    Carbon library

    Carbon library

    A declarative library for building component-based user interfaces

    A declarative library for building component-based user interfaces in UITableView and UICollectionView. Provides a declarative design with the power of diffing algorithm for building list UIs. Declare the component once, it can be reused regardless kind of the list element. Solves the various problems by architecture and algorithm without destructing UIKit. Carbon is a library for building component-based user interfaces in UITableView and UICollectionView inspired by SwiftUI and React. This make it painless to build and maintain the complex UIs. Since components made with Carbon can be works directly on SwiftUI, the cost of future migration can be greatly reduced. Uses DifferenceKit which is highly optimized based on Paul Heckel’s paper for diffing. Declarative design and diffing algorithm make your code more predictable, debugging easier and providing beautiful animations to users.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 13
    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: 0 This Week
    Last Update:
    See Project
  • 14
    DeckTransition

    DeckTransition

    A library to recreate the iOS Apple Music now playing transition

    DeckTransition is an attempt to recreate the card-like transition found in the iOS 10 Apple Music and iMessage apps. The transition can be called from code or using a storyboard. To use via storyboards, just setup a custom segue (kind set to custom), and set the class to DeckSegue. Set modalPresentationCapturesStatusBarAppearance to true in your modal view controller, and override the preferredStatusBarStyle variable to return .lightContent. By default, DeckTransition has a swipe-to-dismiss gesture which is automatically enabled when your modalʼs main UIScrollView is scrolled to the top. DeckTransition has an internal heuristic to determine which UIScrollView should be tracked for the swipe-to-dismiss gesture. In general, this should be sufficient for and cover most use cases.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 15
    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: 0 This Week
    Last Update:
    See Project
  • 16
    Differ

    Differ

    Swift library to generate differences and patches between collections

    Differ generates the differences between Collection instances. There’s a lot more to calculating diffs than performing table view animations easily. Wherever you have code that propagates added/removed/moved callbacks from your model to your user interface, you should consider using a library that can calculate differences. Animating small batches of changes is usually going to be faster and provide a more responsive experience than reloading all of your data. Calculating and acting on differences should also aid you in making a clear separation between data and user interface, and hopefully provide a more declarative approach: your model performs state transition, then your UI code performs appropriate actions based on the calculated differences to that state.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 17
    Dollar

    Dollar

    A functional tool-belt for Swift Language

    Dollar is a Swift library that provides useful functional programming helper methods without extending any built in objects. It is similar to Lo-Dash or Underscore.js in Javascript. Cent is a library that extends certain Swift object types using the extension feature and gives its two cents to Swift language. It is now moved into a separate repo to support Swift Package Manager.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 18
    Dynamic

    Dynamic

    Call hidden/private API in style, The Swift way

    Dynamic is an Objective-C library for dynamically interacting with private and public iOS APIs. It allows developers to access properties, methods, and classes that are not normally exposed, useful for runtime exploration and advanced debugging.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 19
    Elongation Preview

    Elongation Preview

    ElongationPreview is an elegant UI push-pop style view controller

    Elongation Preview is an elegant UI push-pop style view controller for iOS. We specialize in the designing and coding of custom UI for Mobile Apps and Websites.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 20
    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: 0 This Week
    Last Update:
    See Project
  • 21
    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: 0 This Week
    Last Update:
    See Project
  • 22
    Fusuma library

    Fusuma library

    Instagram-like photo browser and a camera feature

    Fusuma is a Swift library that provides an Instagram-like photo browser with a camera feature using only a few lines of code. You can use Fusuma instead of UIImagePickerController. It also has a feature to take a square-sized photo.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 23
    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: 0 This Week
    Last Update:
    See Project
  • 24
    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: 0 This Week
    Last Update:
    See Project
  • 25
    Hacking with Swift

    Hacking with Swift

    The project source code for Hacking with iOS

    HackingWithSwift is an extensive open-source repository that accompanies a popular tutorial series focused on teaching Swift programming for iOS development. It contains a large collection of example projects, exercises, and complete applications that guide learners from beginner to advanced levels. The repository is structured into different learning tracks, including UIKit-based development and modern SwiftUI approaches, allowing developers to explore multiple paradigms within the Apple ecosystem. Each project is designed to reinforce specific concepts such as UI design, data handling, animations, and app architecture. The material emphasizes hands-on learning, encouraging users to build real applications rather than passively consume theory. It is continuously updated to align with the latest versions of Swift, Xcode, and iOS, ensuring relevance for modern development practices.
    Downloads: 0 This Week
    Last Update:
    See Project
  • Previous
  • You're on page 1
  • 2
  • 3
  • Next
MongoDB Logo MongoDB