lundi 2 novembre 2015

Comparing class types does not work

When I debug my code this condition is true, but this block don't execute.
if ([currentParameter class] == [TKTextFeedbackParameter class]) {...}

This block execute if i pass any object (For example, @(1)).

Aucun commentaire:

Enregistrer un commentaire