Mercurial > public > lazybear
view LazyBear/Preview Content/Home/Networking/HomeDataPreview.swift @ 335:2dad5828ccf6
HomeView implemented
author | Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com> |
---|---|
date | Wed, 31 Mar 2021 17:06:57 +0200 |
parents | |
children | 80bfa88c6b0f |
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), ] }