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

python - Healpy: From Data to Healpix map -

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -