Skip to content

Hive client library for iOS, macOS and Linux written in Swift

License

Notifications You must be signed in to change notification settings

hiveuprss/swift-hive

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swift-hive

Unofficial Hive library for Swift.

Resources:

Installation

Using the Swift package manager:

In your Package.swift add:

dependencies: [
    .package(url: "https://github.com/hiveuprss/swift-hive.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.

About

Hive client library for iOS, macOS and Linux written in Swift

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 57.5%
  • Swift 33.6%
  • C++ 8.7%
  • Makefile 0.2%