Files
Woka_Native_iOS/WOKA/Network Adapter/BaseResponseModel.swift
Bilal 5fdd255130 - fixed home name label content hugging issue
- added edit btn to full name
- Linked the add child to the userregisteration details
- Added Hindi Lingual file to profile view
- Made the custom alert for deactivate account
- updated the username check logic
- Added logout api and handled the user logout
- Handled the logout when device change globally
2024-06-06 20:19:22 +05:30

31 lines
500 B
Swift

//
// BaseResponseModel.swift
// WOKA
//
// Created by MacBook Pro on 06/05/24.
//
import Foundation
// MARK: - BaseResponseModel
protocol ResponseProtocol {
var success: Int? { get }
}
class BaseResponseModel<T: Codable> : Codable, ResponseProtocol{
let success: Int?
let message: String?
let data: T?
enum CodingKeys: String, CodingKey {
case success
case message
case data
}
}
struct CommonResponseModel : Codable {
let sad : String?
}