Added Chips from MDCChipView()
let chipField = MDCChipField()
let chipView = MDCChipView()
chipView.titleLabel.text = "text"
chipField.addChip(chipView)
Added Chips from MDCChipView()
let chipField = MDCChipField()
let chipView = MDCChipView()
chipView.titleLabel.text = "text"
chipField.addChip(chipView)
here is how you can change chip view background color:
chipView.setBackgroundColor(.green, for: UIControl.State.normal)