When using this
NSInteger *myInteger = 45 ;
I get the warning message Incompatible Integer to pointer conversion sending 'NSInteger' (aka 'int') to parameter of type 'NSInteger *' (aka 'int *')
I have read another posts with same warning but did not find proper solution.