S
Size: a a a
S
AK
SB
S
S
AK
AK
NK
AB
@interface YourClass : NSObject
@property (class, nonatomic, assign) NSInteger currentId;
@end
@implementation YourClass
static NSInteger _currentId = 0;
+ (NSInteger)currentId {
return _currentId;
}
+ (void)setCurrentId:(NSInteger)newValue {
_currentId = newValue;
}
@end
AK
static NSInteger _currentId = 0;
это private получается? я просто objective c не очень....NK
AK
AB
AB
static NSInteger _currentId = 0;
это private получается? я просто objective c не очень....G
DA
VC
ОЕ