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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mobile
iOS
Elixxir dApps SDK Swift
Merge requests
!76
Project 'elixxir/elixxir-dapps-sdk-swift' was moved to 'mobile/ios/elixxir-dapps-sdk-swift'. Please update any links and bookmarks that may still have the old path.
Messenger example - auth requests handling
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Messenger example - auth requests handling
feature/messenger-example-request-handling
into
development
Overview
0
Commits
12
Pipelines
0
Changes
3
Merged
Messenger example - auth requests handling
Dariusz Rybicki
requested to merge
feature/messenger-example-request-handling
into
development
Sep 8, 2022
Overview
0
Commits
12
Pipelines
0
Changes
3
0
0
Merge request reports
Viewing commit
d0006cd9
Prev
Next
Show latest version
3 files
+
46
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
d0006cd9
Add MessengerVerifyContact function
· d0006cd9
Dariusz Rybicki
authored
Sep 9, 2022
Sources/XXMessengerClient/Messenger/Functions/MessengerVerifyContact.swift
0 → 100644
+
25
−
0
View file @ d0006cd9
Edit in single-file editor
Open in Web IDE
import
XCTestDynamicOverlay
import
XXClient
public
struct
MessengerVerifyContact
{
public
var
run
:
(
Contact
)
throws
->
Bool
public
func
callAsFunction
(
_
contact
:
Contact
)
throws
->
Bool
{
try
run
(
contact
)
}
}
extension
MessengerVerifyContact
{
public
static
func
live
(
_
env
:
MessengerEnvironment
)
->
MessengerVerifyContact
{
MessengerVerifyContact
{
contact
in
// TODO:
return
false
}
}
}
extension
MessengerVerifyContact
{
public
static
let
unimplemented
=
MessengerVerifyContact
(
run
:
XCTUnimplemented
(
"
\(
Self
.
self
)
"
)
)
}
Loading