Swift class does not retain the value in one of its properties

后端 未结 0 1274
天涯浪人
天涯浪人 2021-02-14 02:27

I have multiple items of the class Product. I\'m comparing the products based on the id and the variationId.

class Product: Equatable {
    let id: Int
    let na         


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