I'm pretty new to Objective-C programming so please excuse the nebbish question. If I create NSInteger as follows:
@property (nonatomic) NSInteger myNumber;
is it assigned to some random integer a la 'C' or is it automatically assigned to '0'?
also, where is the most reasonable place to assign it, noting that this will be in a view controller that may or may not receive this value from another view controller.
At this point I'm being paranoid and using NSNumber so that at least I can test for nil but I was hoping to see if I could do this better.