ios - How to get type of class of delegate in swift -
how can know type of class of delegate?
self.delegate.iskindofclass() , self.delegate.ismemberofclass() not working.
when print println(self.delegate) prints caller controller class. cant check it.
if want check if delegate kind of class use following
if self.delegate exampleclass { }
Comments
Post a Comment