This commit is contained in:
Ivan Vorobei
2019-06-26 22:12:35 +03:00
parent 2477f5d038
commit 48001a8e9a
1363 changed files with 6 additions and 3 deletions

View File

@@ -0,0 +1,13 @@
//
// Action.swift
// SwiftUIDemo
//
// Created by Thomas Ricouard on 05/06/2019.
// Copyright © 2019 Thomas Ricouarf. All rights reserved.
//
import Foundation
protocol Action {
}

View File

@@ -0,0 +1,19 @@
//
// UsersAction.swift
// SwiftUIDemo
//
// Created by Thomas Ricouard on 05/06/2019.
// Copyright © 2019 Thomas Ricouarf. All rights reserved.
//
import Foundation
enum UserActions: Action {
case addUser
case deleteUser(index: Int)
case move(from: Int, to: Int)
case editUser(id: Int, name: String, username: String)
case testEditFirstUser
case startEditUser
case stopEditUser
}