Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/steemit/swift-steem
Steem client library for iOS, macOS and Linux written in Swift
https://github.com/steemit/swift-steem
steem swift
Last synced: 16 days ago
JSON representation
Steem client library for iOS, macOS and Linux written in Swift
- Host: GitHub
- URL: https://github.com/steemit/swift-steem
- Owner: steemit
- License: mit
- Created: 2018-05-18T17:14:25.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-22T17:39:49.000Z (over 5 years ago)
- Last Synced: 2024-08-01T08:10:17.629Z (4 months ago)
- Topics: steem, swift
- Language: C
- Homepage: https://steemit.github.io/swift-steem/
- Size: 846 KB
- Stars: 3
- Watchers: 22
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-steem - swift-steem - Steem client library for iOS, macOS and Linux written in Swift (SDKs)
README
swift-steem
===========Official Steem library for Swift.
Resources:
* [API documentation](https://steemit.github.io/swift-steem/)
* [Issue tracker](https://github.com/steemit/swift-steem/issues)
* [Steem developer portal](https://developers.steem.io)Installation
------------Using the [Swift package manager](https://swift.org/package-manager/):
In your Package.swift add:
```
dependencies: [
.package(url: "https://github.com/steemit/swift-steem.git", .branch("master"))
]
```and run `swift package update`. Now you can `import Steem` in your Swift project.
Running tests
-------------To run all tests simply run `swift test`, this will run both the unit- and integration-tests. To run them separately use the `--filter` flag, e.g. `swift test --filter SteemIntegrationTests`
Developing
----------Development of the library is best done with Xcode, to generate a `.xcodeproj` you need to run `swift package generate-xcodeproj`.
To enable test coverage display go "Scheme > Manage Schemes..." menu item and edit the "Steem-Package" scheme, select the Test configuration and under the Options tab enable "Gather coverage for some targets" and add the `Steem` target.
After adding adding more unit tests the `swift test --generate-linuxmain` command has to be run and the XCTestManifest changes committed for the tests to be run on Linux.