How to make swiftui struct mutable

前端 未结 0 965
生来不讨喜
生来不讨喜 2021-01-31 16:25

I have the following struct:

struct Communication: Identifiable {
    let id: String
    let message, title: String
    let date: Date
    var isExpanded: Bool =          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题