Skip to content
Snippets Groups Projects
Select Git revision
  • bdee6cc25e1c659d0500b37f5a394d6f45fcf795
  • main default protected
  • dev protected
  • hotfixes-oct-2022
  • refactor/avatar-cell
  • 1.1.5
  • 1.1.4
  • 1.1.3
  • 1.1
  • 1.0.8
  • 1.0.7
  • 1.0.6
12 results

Package.swift

Blame
  • CmixGetId.swift 413 B
    import Bindings
    import XCTestDynamicOverlay
    
    public struct CmixGetId {
      public var run: () -> Int
    
      public func callAsFunction() -> Int {
        run()
      }
    }
    
    extension CmixGetId {
      public static func live(_ bindingsCmix: BindingsCmix) -> CmixGetId {
        CmixGetId(run: bindingsCmix.getID)
      }
    }
    
    extension CmixGetId {
      public static let unimplemented = CmixGetId(
        run: XCTUnimplemented("\(Self.self)")
      )
    }