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
!56
Update Bindings
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Update Bindings
dev/update-bindings
into
development
Overview
0
Commits
5
Pipelines
0
Changes
1
Merged
Dariusz Rybicki
requested to merge
dev/update-bindings
into
development
2 years ago
Overview
0
Commits
5
Pipelines
0
Changes
1
Expand
Update Bindings.xcframework
client@57b7e3b8
go version go1.17.13 darwin/arm64
Xcode 13.4.1 Build version 13F100
gomobile bind target: ios,iossimulator,macos
Add
TrackServicesCallback
Add
NotificationReport
model
Add
CMixTrackServices
function wrapper
Add
GetNotificationsReport
function wrapper
0
0
Merge request reports
Viewing commit
6120e120
Prev
Next
Show latest version
1 file
+
41
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
6120e120
Add GetNotificationsReport function wrapper
· 6120e120
Dariusz Rybicki
authored
2 years ago
Sources/XXClient/Functors/GetNotificationsReport.swift
0 → 100644
+
41
−
0
Options
import
Bindings
import
XCTestDynamicOverlay
public
struct
GetNotificationsReport
{
public
var
run
:
(
Int
,
String
,
Data
)
throws
->
NotificationReport
public
func
callAsFunction
(
e2eId
:
Int
,
notificationCSV
:
String
,
marshaledServices
:
Data
)
throws
->
NotificationReport
{
try
run
(
e2eId
,
notificationCSV
,
marshaledServices
)
}
}
extension
GetNotificationsReport
{
public
static
func
live
()
->
GetNotificationsReport
{
GetNotificationsReport
{
e2eId
,
notificationCSV
,
marshaledServices
in
var
error
:
NSError
?
let
result
=
BindingsGetNotificationsReport
(
e2eId
,
notificationCSV
,
marshaledServices
,
&
error
)
if
let
error
=
error
{
throw
error
}
guard
let
result
=
result
else
{
fatalError
(
"BindingsGetNotificationsReport returned nil without providing error"
)
}
return
try
NotificationReport
.
decode
(
result
)
}
}
}
extension
GetNotificationsReport
{
public
static
let
unimplemented
=
GetNotificationsReport
(
run
:
XCTUnimplemented
(
"
\(
Self
.
self
)
"
)
)
}
Loading