this should be changed to 
<pre>
if (self.footer && [self.footer isKindOfClass:[PacoDatePickerView class]]) {
</pre>