Checking if a NSInteger is odd or even.

Posted by Joshua on Stack Overflow See other posts from Stack Overflow or by Joshua
Published on 2010-04-23T06:15:36Z Indexed on 2010/04/23 6:23 UTC
Read the original article Hit count: 322

Filed under:
|

I have been trying to check whether an NSInteger is odd or even. I have found a way to do it using C but it doesn't work with Objective-C. How would I do this?

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about objective-c