Михаил Капелько 10 meses atrás
pai
commit
005621eccc
2 arquivos alterados com 10 adições e 4 exclusões
  1. +1
    -1
      Modules/BusX/BusUI/src/BusUI.ManyTextField.swift
  2. +9
    -3
      Modules/MPAKX/src/MPAK.Many.swift

+ 1
- 1
Modules/BusX/BusUI/src/BusUI.ManyTextField.swift Ver arquivo

@@ -35,7 +35,7 @@ extension BusUI {
$v
.removeDuplicates()
.compactMap(onlyUIText)
.compactMap { v in
.compactMap { v -> Any in
if let id {
var d = [String: String]()
d[id] = v


+ 9
- 3
Modules/MPAKX/src/MPAK.Many.swift Ver arquivo

@@ -1,8 +1,14 @@
extension MPAK {
public struct Many<T> {
public var keys = Set<String>()
public var dict = [String: T]()
public var keys: Set<String>
public var dict: [String: T]

public init() { }
public init(
_ keys: Set<String> = [],
_ dict: [String: T] = [:]
) {
self.keys = keys
self.dict = dict
}
}
}

Carregando…
Cancelar
Salvar