metatext/Extensions/CollectionItemKind+Extensions.swift

15 lines
300 B
Swift
Raw Normal View History

2020-09-23 01:00:56 +00:00
// 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
}
}
}