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

Popular posts from this blog

Upgrade php version of xampp not success -

amazon web services - S3 and apache mod_proxy with basic authentication -

powershell - This solution contains one or more assemblies targeted for the global assembly cache -