metatext-app-ios-iphone-ipad/Extensions/CollectionItemKind+Extensio...

17 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
}
}
}