UPDATE: This question does not duplicate the question mentioned above.
It was verified (see comment below) that the method definition IS
properly added to the
Lou Franco's explanation is correct. Your function has an Int? parameter, and there is no equivalent of that in Objective-C. Therefore the entire function cannot be exposed to Objective-C. Use Int or, if it really can be nil, use NSNumber?.