Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
Elixxir dApps SDK Swift
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mobile
iOS
Elixxir dApps SDK Swift
Merge requests
!18
Update Bindings
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Update Bindings
feature/update-bindings
into
development
Overview
3
Commits
164
Pipelines
0
Changes
1
Merged
Dariusz Rybicki
requested to merge
feature/update-bindings
into
development
2 years ago
Overview
3
Commits
164
Pipelines
0
Changes
1
Expand
Update Bindings.xcframework (release
https://git.xx.network/elixxir/client/-/pipelines/125767
)
Update Bindings.xcframework (release
https://git.xx.network/elixxir/client/-/pipelines/132481
)
Update Bindings.xcframework (release
https://git.xx.network/elixxir/client/-/pipelines/133113
)
Update Bindings.xcframework (release
https://git.xx.network/elixxir/client/-/pipelines/133582
)
Update Bindings.xcframework (release
https://git.xx.network/elixxir/client/-/pipelines/133688
)
Use models instead of raw data whenever possible
User Discovery
Backup
File Transfers
Channels
Edited
2 years ago
by
Dariusz Rybicki
0
0
Merge request reports
Viewing commit
4b4bddbc
Show latest version
1 file
+
31
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
4b4bddbc
Add StoreReceptionIdentity functor
· 4b4bddbc
Dariusz Rybicki
authored
2 years ago
Sources/ElixxirDAppsSDK/StoreReceptionIdentity.swift
0 → 100644
+
31
−
0
Options
import
Bindings
import
XCTestDynamicOverlay
public
struct
StoreReceptionIdentity
{
public
var
run
:
(
String
,
Data
,
Int
)
throws
->
Bool
public
func
callAsFunction
(
key
:
String
,
identity
:
Data
,
cmixId
:
Int
)
throws
->
Bool
{
try
run
(
key
,
identity
,
cmixId
)
}
}
extension
StoreReceptionIdentity
{
public
static
let
live
=
StoreReceptionIdentity
{
key
,
identity
,
cmixId
in
var
error
:
NSError
?
let
result
=
BindingsStoreReceptionIdentity
(
key
,
identity
,
cmixId
,
&
error
)
if
let
error
=
error
{
throw
error
}
return
result
}
}
extension
StoreReceptionIdentity
{
public
static
let
unimplemented
=
StoreReceptionIdentity
(
run
:
XCTUnimplemented
(
"
\(
Self
.
self
)
"
)
)
}
Loading