Михаил Капелько 10 months ago
parent
commit
676ec75bef
2 changed files with 11 additions and 10 deletions
  1. +10
    -0
      Modules/MPAKX/src/MPAK.Recent.swift
  2. +1
    -10
      Modules/MPAKX/src/MPAK.swift

+ 10
- 0
Modules/MPAKX/src/MPAK.Recent.swift View File

@@ -0,0 +1,10 @@
public extension MPAK {
public struct Recent<T> {
public var isRecent = false
public var value: T

public init(_ value: T) {
self.value = value
}
}
}

+ 1
- 10
Modules/MPAKX/src/MPAK.swift View File

@@ -1,10 +1 @@
public enum MPAK {
public struct Recent<T> {
public var isRecent = false
public var value: T

public init(_ value: T) {
self.value = value
}
}
}
public enum MPAK { }

Loading…
Cancel
Save