metatext/Extensions/CollectionItemKind+Extensions.swift
2020-10-01 20:19:14 -07:00

16 lines
371 B
Swift

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