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.

  • Auth0 for AI Agents now in GA Icon
    Auth0 for AI Agents now in GA

    Ready to implement AI with confidence (without sacrificing security)?

    Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
    Start building today
  • Accounts Payable Software | AvidXchange Icon
    Accounts Payable Software | AvidXchange

    AvidXchange is an Industry Leader in AP Automation Software for Middle Market Businesses.

    Drive greater business success by automating the accounts payable process to boost efficiency, accuracy and speed in the processing of invoices and payments.
    Learn More
  • 1
    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: 7 This Week
    Last Update:
    See Project
  • 2
    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: 3 This Week
    Last Update:
    See Project
  • 3
    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
  • 4
    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: 2 This Week
    Last Update:
    See Project
  • Turn traffic into pipeline and prospects into customers Icon
    Turn traffic into pipeline and prospects into customers

    For account executives and sales engineers looking for a solution to manage their insights and sales data

    Docket is an AI-powered sales enablement platform designed to unify go-to-market (GTM) data through its proprietary Sales Knowledge Lake™ and activate it with intelligent AI agents. The platform helps marketing teams increase pipeline generation by 15% by engaging website visitors in human-like conversations and qualifying leads. For sales teams, Docket improves seller efficiency by 33% by providing instant product knowledge, retrieving collateral, and creating personalized documents. Built for GTM teams, Docket integrates with over 100 tools across the revenue tech stack and offers enterprise-grade security with SOC 2 Type II, GDPR, and ISO 27001 compliance. Customers report improved win rates, shorter sales cycles, and dramatically reduced response times. Docket’s scalable, accurate, and fast AI agents deliver reliable answers with confidence scores, empowering teams to close deals faster.
    Learn More
  • 5
    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: 2 This Week
    Last Update:
    See Project
  • 6
    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
  • 7
    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
  • 8
    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: 1 This Week
    Last Update:
    See Project
  • 9
    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: 1 This Week
    Last Update:
    See Project
  • Pest Control Management Software Icon
    Pest Control Management Software

    Pocomos is a cloud-based field service solution that caters to businesses

    Built for the pest control industry, but also works great for Mosquito Control, Bin Cleaning, Window Washing, Solar Panel Cleaning, and other Home Service Businesses in need of an easy-to-use software that helps you simplify routing, scheduling, communications, payment processing, truck tracking, time tracking, and reporting.
    Learn More
  • 10
    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
  • 11
    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
  • 12
    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: 1 This Week
    Last Update:
    See Project
  • 13
    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
  • 14
    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
  • 15
    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
  • 16
    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
  • 17
    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
  • 18
    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
  • 19
    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
  • 20
    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
  • 21
    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
  • 22
    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
  • 23
    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
  • 24
    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
  • 25
    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
  • Previous
  • You're on page 1
  • 2
  • 3
  • Next