Frage

enter image description here

why does it say that 0 is not equal to 0 ?

War es hilfreich?

Lösung

It's a casting issue. count returns an NSUInteger and 0 is being assumed to be an NSInteger. Cast your zero to unsigned by writing 0U or (NSUInteger)0.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top