comparison LazyBearWatchOS Extension/Views/Home/LatestNewsView.swift @ 454:c79a3ed3d230

StockView for WatchOS implemented
author Dennis Concepción Martín <dennisconcepcionmartin@gmail.com>
date Sun, 27 Jun 2021 20:55:05 +0200
parents
children
comparison
equal deleted inserted replaced
453:37c13ebda381 454:c79a3ed3d230
1 //
2 // LatestNewsView.swift
3 // LazyBearWatchOS Extension
4 //
5 // Created by Dennis Concepción Martín on 27/06/2021.
6 //
7
8 import SwiftUI
9
10 struct LatestNewsView: View {
11 var symbol: String
12 var name: String
13 @ObservedObject var company: Company
14
15 var body: some View {
16 Text(/*@START_MENU_TOKEN@*/"Hello, World!"/*@END_MENU_TOKEN@*/)
17 }
18 }
19
20 struct LatestNewsView_Previews: PreviewProvider {
21 static var previews: some View {
22 LatestNewsView(symbol: "AAPL", name: "Apple Inc", company: Company())
23 }
24 }