WPSwift is a Swift client library for the WordPress REST API.
- iOS 16.0+
- macOS 13.0+
- Xcode 16+
- Swift 6.0+
Add the following to your Package.swift
file:
dependencies: [
.package(url: "https://github.com/rocxteady/WPSwift.git", from: "1.0.0-beta.1")
]
Or add it in Xcode:
- File → Add Package Dependencies
- Enter package URL:
https://github.com/rocxteady/WPSwift.git
- Specify the version:
1.0.0-beta.1
- Built with Swift
- Modern async/await API
- URLSession based networking
- Codable support for JSON parsing
- Complete WordPress REST API coverage
- iOS, watchOS, tvOS, macOS and visionOS support
WPSwift is available under the MIT License. See the LICENSE file for more info.
Ulaş Sancak (@rocxteady)
- WPKotlin - Kotlin Multiplatform client for WordPress REST API