Avatar
public enum Download: ExpressibleByNilLiteral, Equatable { public init(nilLiteral: ()) { self = .noContent } // Simulate download in one step case content(Data) // Simulate download as byte stream case streamContent(data:Data, inChunksOf:Int) // Simulate empty download case noContent } (edited)
6:18 AM
noContentで使うようだな。