Skip to content

Instantly share code, notes, and snippets.

@AlekseyPleshkov
Created May 11, 2019 19:49
Show Gist options
  • Select an option

  • Save AlekseyPleshkov/51da643edfb81cd8060d7bf02ccfde49 to your computer and use it in GitHub Desktop.

Select an option

Save AlekseyPleshkov/51da643edfb81cd8060d7bf02ccfde49 to your computer and use it in GitHub Desktop.
// Models
/// Модель для передачи данных в VIP цикле
enum HomeModels {
/// Набор запросов для одного VIP цикла
enum FetchUser {
/// Запрос к Interactor из View Controller
struct Request {
let userName: String
}
/// Запрос к Presentor из Interactor
struct Response {
let userPhone: String
let userEmail: String
}
/// Запрос к View Controller из Presentor
struct ViewModel {
let userPhone: String
let userEmail: String
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment