Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Objective C: Class containing single NSInteger need releasing ?
- @interface myTag
- @property (nonatomic) NSInteger tag;
- @property (nonatomic) NSInteger index;
- @end
- mytag = [[myTag alloc] init];
- int num = (int)mytag.tag;
- [mytag release];
- NSLog(@"num = %d",num);
Add Comment
Please, Sign In to add comment