@property (retain) int myInteger;
That throws me an error because apparently int is not considered an object… but I want to get the advantage of creating a getter/setter method with the @synthetize thing, but with an int. How could I achieve so? Is there an equivalent?
or
You cannot retain a primitive type like integers. Only objects can be retained…