Handling Continuously Updating Market Data in Swift
Swift Forums
Handling Continuously Updating Market Data in Swift
I’ve been experimenting with processing continuously updating market data in Swift, mostly to understand how I should structure the networking and data layer for a small personal project. The basic model is pretty simple: struct MarketTick: Codable { let symbol: String let price: Double let timestamp: Int64 } The part I’m less sure about is what happens when the data keeps arriving continuously. My first approach was simply decoding each update and appending it to an array, but...
0 comments
No comments yet.