A growing collection of methods, ranging from simple to complex mathematical operations, that have been aggregated from development over time.

Contains several operations including:

  • isWholeNumber - checks if the integer is whole.
  • isEven - checks if the integer is even.
  • isOdd - checks if the integer is odd.
  • isDivisibleBy - checks if the integer is divisible by all divisors in a set.


Open your terminal and run:

git clone git@github.com:iJoeCollins/JOEMath.git

Drag the JOEMath folder into your project.

Then in your .pch file:

#import "JOEMath.h"

Or just import the header files where needed.


Further details and examples are available in the programming guide.


Documentation can be browsed online or installed in your Xcode Organizer via the Atom Feed URL.


It is open source and distributed under the MIT License (MIT). That means you have to mention Joseph Collins as the original author of this code and reproduce the LICENSE text inside your app.

You can purchase a Non-Attribution-License for $100 USD, for not having to include the LICENSE text.

I also accept sponsorship for any specific enhancements you may require. Please contact me via email for inquiries.

Programming Guides

Class References