metatext/Extensions/CollectionItemKind+Extensions.swift
Justin Mazzocchi b13f4b89a8
Refactoring
2020-09-22 18:00:56 -07:00

14 lines
300 B
Swift

// Copyright © 2020 Metabolist. All rights reserved.
import ViewModels
extension CollectionItem.Kind {
var cellClass: AnyClass {
switch self {
case .status:
return StatusListCell.self
case .account:
return AccountListCell.self
}
}
}