Vinícius Soler Vinícius Soler - 1 year ago 80
Swift Question

Using CheckMark in swift

How to use the method in UITableViewCellAcessoryCheckMark swift? In ObjC it is clear to me, but Swift could not do likewise. My intention is to make a comparison, and this being true chekmark appear.

Answer Source

In Swift, to reference UITableViewCellAccessoryCheckMark use

cell.accessoryType = UITableViewCellAccessoryType.Checkmark

Here's the Apple docs:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download