Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Sport: Mappable, Hashable, Codable {
- let id: SportType
- let name: String
- let order: Int
- let iconName: String
- enum IconSize: Int {
- case small
- case large
- case normal
- func iconSizeValue() -> String {
- switch self{
- case .small:
- return "Small"
- case .large:
- return "Tab"
- case .normal:
- return ""
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement