I am trying to figure out how to programmatically(not in storyboard) set the colour for UITableViewCellAccessoryType.Checkmark.
I feel kinda stupid asking how to do something as simple as this, but I could not find the answer in the apple docs. Any help would be great. Thanks.
I set the accessory type like this:(works fine)
cell.accessoryType = .Checkmark
EDIT : If you want to change the image used for checkmark, this worked for me. But POB's answer is what I ended up using to simply change the colour.
let checkImage = UIImage(named: "checkmark.png")
let checkmark = UIImageView(image: checkImage)
cell.accessoryView = checkmark