Created
April 18, 2020 00:32
-
-
Save FitzAfful/774004dec45cf968796963791b30a40d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
class EmployeesEvent: NSObject { | |
var error: Bool | |
var errorMessage: String? | |
var employees: [Employee]? | |
init(error: Bool, errorMessage: String? = nil, employees: [Employee]? = nil) { | |
self.error = error | |
self.errorMessage = errorMessage | |
self.employees = employees | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment