Storing numbers: primitive or object?

I'm packing up some code that I'll be using regularly into a Framework. I'm just wondering:

Should I be using primitives or NSNumber to store the numbers in the objects?

Primitives look easier and make the mathematics easy to read, but will I be able to use bindings to GUI objects if I use them?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Use primitives

Generally I would stick with primitives unless you have a good reason not to. You can use bindings directly with primitives, so need to switch for that reason.