Need help with AXSwift?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

tmandry
129 Stars 27 Forks MIT License 77 Commits 8 Opened issues

Description

Swift wrapper for accessibility clients

Services available

!
?

Need anything else?

Contributors list

# 115,611
hammers...
macOS
osx
Swift
67 commits
# 156,867
Objecti...
Swift
crash-r...
carthag...
4 commits
# 501,855
Objecti...
Swift
1 commit
# 5,478
hubot
coffees...
Jenkins
Markdow...
1 commit

AXSwift

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

SPM

In your Package.swift:

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

Carthage

In your Cartfile:

github "tmandry/AXSwift" ~> 0.3

CocoaPods

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.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.