This is my protocol:
protocol LiveTableViewCellProtocol: class { var data: LiveCellObjectProtocol! { get set } } This is my class:
class RepliesTableViewCell: UITableViewCell, LiveTableViewCellProtocol { var data: RepliesCellObject! //ERROR! does not conform to protocol. } RepliesCellObject is defined as:
public class RepliesCellObject: NSObject , LiveCellObjectProtocol{ //basic stuff here. } RepliesCellObject is a LiveCellObjectProtocol ... so why doesn't my table cell conform?
dataasRepliesCellObject.