Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tmandry/axswift
Swift wrapper for accessibility clients
https://github.com/tmandry/axswift
swift
Last synced: about 3 hours ago
JSON representation
Swift wrapper for accessibility clients
- Host: GitHub
- URL: https://github.com/tmandry/axswift
- Owner: tmandry
- License: mit
- Created: 2015-12-15T07:11:09.000Z (about 9 years ago)
- Default Branch: main
- Last Pushed: 2023-07-25T15:56:49.000Z (over 1 year ago)
- Last Synced: 2024-10-14T11:52:29.451Z (3 months ago)
- Topics: swift
- Language: Swift
- Size: 107 KB
- Stars: 325
- Watchers: 9
- Forks: 54
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AXSwift
[![Version](https://cocoapod-badges.herokuapp.com/v/AXSwift/badge.svg)](https://cocoapods.org/pods/AXSwift)
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)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 poorThis 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](https://github.com/tmandry/AXSwift/blob/master/AXSwiftExample/AppDelegate.swift)
and [AXSwiftObserverExample](https://github.com/tmandry/AXSwift/blob/master/AXSwiftObserverExample/AppDelegate.swift)
for an example of the API.## Related Projects
[Swindler](https://github.com/tmandry/Swindler), a framework for building macOS window managers in Swift,
is built on top of AXSwift.