How can I know the type of class of a delegate?
self.delegate.isKindOfClass() and self.delegate.isMemberOfClass() are not working.
When I print
println(self.delegate) It prints the caller controller class. But I cant check it.
If you want to check if your delegate is kind of class use the following
if self.delegate is ExampleClass {
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With