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