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

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -