Skip to content
Snippets Groups Projects
Commit e341e915 authored by Dariusz Rybicki's avatar Dariusz Rybicki
Browse files

Add NDFDownloader example usage to README.md

parent b67c1871
Branches
Tags
1 merge request!4Add basic usage examples
This commit is part of merge request !4. Comments created here will be created in the context of that merge request.
......@@ -14,10 +14,11 @@ For usage examples, checkout included example iOS application.
Create a new client and store it on disk:
```swift
let downloadNDF: NDFDownloader = .live
let createClient: ClientCreator = .live
try createClient(
directoryURL: ...,
ndf: ...,
ndf: try downloadNDF(.mainnet),
password: ...
)
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment