如何打印出所选项目而不是参考代码?

时间:2021-03-24 07:35:37
import UIKit

class OrderModel: NSObject { var menuItem = "None" var modifier = "None" }

class OrderModel:NSObject {var menuItem =“None”var modifier =“None”}

this is my code which returns

这是我的代码返回

Optional("Confirm") [<ParseStarterProject_Swift.OrderModel: 0x7f92da5404c0>, <ParseStarterProject_Swift.OrderModel: 0x7f92da72d7e0>

可选(“确认”)[ <0x7f92da5404c0><0x7f92da72d7e0>