PrivMX Endpoint Swift Extra is an extension of Privmx Endpoint Swift
. It's extended with additional logic, that makes using our libraries simpler and less error-prone.
This package implements:
- Enums and static fields to reduce errors while using the methods.
- Protocols and Extensions for translating C++ values to Swift Types.
PrivmxEndpointWrapper
for managing connection and event loop.PrivmxEndpointContainer
for managing global sessions.- Classes to simplify reading/writing to files using byte arrays and Swift
FileHandle
.
—————————————————
To use this package add it as a Dependency in your Xcode project or your Package.swift
file.
You can do so by selecting Add Package Dependencies...
in the Project navigator context menu and then pasting https://github.com/simplito/privmx-endpoint-swift-extra
in Search or Enter Package URL
field.
When you want to add it to a Swift Package of yours, add
.package(
url:"https://github.com/simplito/privmx-endpoint-swift-extra",
.upToNextMajor(from: .init(1, 6, 0))
),
To dependencies
array in Package.swift
.
—————————————————
Go to our documentation to learn more about PrivMX.
—————————————————