Mercurial > public > lazybear
view LazyBear/Preview Content/Home/Networking/HomeDataPreview.swift @ 346:80bfa88c6b0f
Implementing Prop API
author | Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com> |
---|---|
date | Sun, 11 Apr 2021 19:55:47 +0200 |
parents | 2dad5828ccf6 |
children |
line wrap: on
line source
// // HomeDataPreview.swift // LazyBear // // Created by Dennis Concepción Martín on 31/3/21. // //import SwiftUI // //class HomeDataPreview: ObservableObject { // @Published var sectorPerformance = [ // SectorPerformanceModel(name: "Communication Services", performance: 0.043, lastUpdated: 1617177387000), // SectorPerformanceModel(name: "Consumer Discretionary", performance: 0.043, lastUpdated: 1617177387000), // SectorPerformanceModel(name: "Consumer Staples", performance: 0.043, lastUpdated: 1617177387000), // SectorPerformanceModel(name: "Energy", performance: 0.043, lastUpdated: 1617177387000), // SectorPerformanceModel(name: "Financials", performance: 0.043, lastUpdated: 1617177387000), // SectorPerformanceModel(name: "Health Care", performance: 0.043, lastUpdated: 1617177387000), // SectorPerformanceModel(name: "Industrials", performance: 0.043, lastUpdated: 1617177387000), // SectorPerformanceModel(name: "Materials", performance: 0.043, lastUpdated: 1617177387000), // SectorPerformanceModel(name: "Real Estate", performance: 0.043, lastUpdated: 1617177387000), // SectorPerformanceModel(name: "Technology", performance: 0.043, lastUpdated: 1617177387000), // SectorPerformanceModel(name: "Utilities", performance: 0.043, lastUpdated: 1617177387000), // ] // // // //}