Nostr SDK for Apple Platforms is a native Swift library that enables developers to quickly and easily build Nostr-based apps for Apple platforms.
The following NIPs are implemented:
window.nostr
capability for web browserse
and p
tags in text eventsnostr:
URI schemegit
stuffNostr SDK can be integrated as an Xcode project target or a Swift package target.
Releases follow semantic versioning.
File
-> Add Package Dependencies
.nostr-sdk-ios
from the search results.Up to Next Major Version
starting from the latest release as the dependency rule.Add to Project
.Add Package
.NostrSDK
to your target and click Add Package
.In your Package.swift
file:
NostrSDK
as a dependency on the targets that need to use the SDK.let package = Package(
// ...
dependencies: [
// ...
.package(url: "https://github.com/nostr-sdk/nostr-sdk-ios.git", .upToNextMajor(from: "0.1.0"))
],
targets: [
.target(
// ...
dependencies: ["NostrSDK"]
),
.testTarget(
// ...
dependencies: ["NostrSDK"]
)
]
)
If you would like to contribute to this library, please see CONTRIBUTING.md.
These are the core maintainers of this library and their Nostr public keys.