Whilst writing the object classes for my app, I came across the quandary which tipe of number attribute to use. NSNumber NSInteger or good old int. To my knowledge int is the classic c int. Where as NSNumber is the objective-c type which has more functionality. NSInteger is the same as NSNumber but long. I think the answer is you cant beet a good old int.
No comments:
Post a Comment