Swiftpack.co -  tmandry/AXSwift as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
Swift wrapper for accessibility clients
.package(url: "https://github.com/tmandry/AXSwift.git", from: "0.3.1")


Version Carthage compatible

AXSwift is a Swift wrapper for macOS's C-based accessibility client APIs. Working with these APIs is error-prone and a huge pain, so AXSwift makes everything easier:

  • Modern API that's 100% Swift
  • Explicit error handling
  • Complete coverage of the underlying C API
  • Better documentation than Apple's, which is pretty poor

This framework is intended as a basic wrapper, and doesn't keep any state or do any "magic". That's up to you!

Using AXSwift


In your Package.swift:

.package(url: "https://github.com/tmandry/AXSwift", from: "0.3.0"),


In your Cartfile:

github "tmandry/AXSwift" ~> 0.3


In your Podfile:

pod 'AXSwift', '~> 0.3'

See the source of AXSwiftExample and AXSwiftObserverExample for an example of the API.

Related Projects

Swindler, a framework for building macOS window managers in Swift, is built on top of AXSwift.


Stars: 163
Last commit: 2 days ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.

Related Packages

Release Notes

36 weeks ago

Clean up warnings

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics