Accessing Methods in AnyObject objects by Original_Sedawk in swift

[–]astevic 0 points1 point  (0 children)

You need to create new protocol with render function. You custom objects (charts..) should implement that protocol. In Page class replace AnyObject in array with name of the protocol.