Add more file properties, organize storage, add video block
This commit is contained in:
@ -5,10 +5,13 @@ enum ContentBlock: String, CaseIterable {
|
||||
|
||||
case swift
|
||||
|
||||
case video
|
||||
|
||||
var processor: BlockProcessor.Type {
|
||||
switch self {
|
||||
case .audio: return AudioBlockProcessor.self
|
||||
case .swift: return SwiftBlockProcessor.self
|
||||
case .audio: return AudioBlock.self
|
||||
case .swift: return SwiftBlock.self
|
||||
case .video: return VideoBlock.self
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user