Latest 0.2.2
Homepage https://github.com/tmandry/AXSwift
License MIT
Platforms osx 10.10
Frameworks Cocoa
Authors

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

Swift package manager (SPM) is not supported, because it cannot build libraries
and applications that depend on Cocoa.

Carthage

In your Cartfile:

github "tmandry/AXSwift" ~> 0.2

CocoaPods

In your Podfile:

pod 'AXSwift', '~> 0.2'

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.

Latest podspec

{
    "name": "AXSwift",
    "version": "0.2.2",
    "summary": "Swift wrapper for Mac accessibility APIs",
    "description": "AXSwift is a Swift wrapper for OS X's C-based accessibility client APIs. Working with these APIsnis error-prone and a huge pain, so AXSwift makes everything easier:nn- Modern API that's 100% Swiftn- Explicit error handlingn- Complete coverage of the underlying C APIn- Better documentation than Apple's, which is pretty poornnThis framework is intended as a basic wrapper and doesn't keep any state or do any "magic".nThat's up to you!",
    "homepage": "https://github.com/tmandry/AXSwift",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Tyler Mandry": "[email protected]"
    },
    "source": {
        "git": "https://github.com/tmandry/AXSwift.git",
        "tag": "0.2.2"
    },
    "social_media_url": "https://twitter.com/tmandry",
    "platforms": {
        "osx": "10.10"
    },
    "source_files": "Sources/*.{swift,h}",
    "public_header_files": "Sources/*.h",
    "frameworks": "Cocoa"
}

Pin It on Pinterest

Share This