#include "evenint.h" @implementation EvenPositiveInteger -(BOOL)validValue:(unsigned long)val { if(val & 1) return NO; else return YES; } @end