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
Commits
a5211798
Commit
a5211798
authored
2 years ago
by
Dariusz Rybicki
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused code
parent
0c86ff05
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!102
Release 1.0.0
,
!18
Update Bindings
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Sources/ElixxirDAppsSDK/Legacy/ConnectionMaker.swift
+0
-44
0 additions, 44 deletions
Sources/ElixxirDAppsSDK/Legacy/ConnectionMaker.swift
with
0 additions
and
44 deletions
Sources/ElixxirDAppsSDK/Legacy/ConnectionMaker.swift
deleted
100644 → 0
+
0
−
44
View file @
0c86ff05
//import Bindings
//
//public struct ConnectionMaker {
// public var connect: (Bool, Data, Int) throws -> Connection
//
// public func callAsFunction(
// withAuthentication: Bool,
// recipientContact: Data,
// e2eId: Int
// ) throws -> Connection {
// try connect(withAuthentication, recipientContact, e2eId)
// }
//}
//
//extension ConnectionMaker {
// public static func live(bindingsClient: BindingsCmix) -> ConnectionMaker {
// ConnectionMaker { withAuthentication, recipientContact, e2eId in
// if withAuthentication {
// return Connection.live(
// bindingsAuthenticatedConnection: try bindingsClient.connect(
// withAuthentication: e2eId,
// recipientContact: recipientContact
// )
// )
// } else {
// return Connection.live(
// bindingsConnection: try bindingsClient.connect(
// e2eId,
// recipientContact: recipientContact
// )
// )
// }
// }
// }
//}
//
//#if DEBUG
//extension ConnectionMaker {
// public static let failing = ConnectionMaker { _, _, _ in
// struct NotImplemented: Error {}
// throw NotImplemented()
// }
//}
//#endif
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment