I'm developing an iOS 5.0+ app and I'm creating a Category for an UIButton
:
@interface UIButton (NotificationBall)
@property (nonatomic, assign) NSInteger type;
@property (nonatomic, assign) NSInteger index;
@end
And its implementation:
#import "UIButton+NotificationBall.h"
@implementation UIButton (NotificationBall)
@dynamic type;
@dynamic index;
@end
Searching on internet I've found this question, but I haven't found any examples with NSInteger
.
Do I need to use NSNumber instead of NSInteger?
If I use, NSNumber, what do I have to do?