SwiftUI Combine:@Published仅在类的属性上可用
我有以下代码,我收到消息错误:
'wrappedValue'不可用:@Published仅在
类的属性
//*
/**
Chat
Created on 29/07/2020
*/
import SwiftUI
let lightGreyColor = Color(red: 239.0/255.0, green: 243.0/255.0, blue: 244.0/255.0, opacity: 1.0)
struct ConnectionView: View {
@ObservedObject ...