MSCellAccessory
MSCellAccessory copied to clipboard
swift version
Hi can you create the same in Swift ? Just wanted to learn how the custom initialiser works in swift.
simple create a bridging header for Objective C libraries insert:
#import "MSCellAccessory.h"
and then simple use:
cell.accessoryView = MSCellAccessory(type: MSCellAccessoryType.FLAT_DISCLOSURE_INDICATOR, color: self.greyTextColor)
+1