Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #import "TableViewController.h"
- @interface TableViewController ()
- @end
- @implementation TableViewController
- @synthesize currentTest = _currentTest;
- - (void)viewDidLoad
- {
- [super viewDidLoad];
- }
- -(id)init
- {
- if ((self = [super init]))
- _currentTest = [[NSMutableArray alloc] init];
- return self;
- }
- - (void)keepCurrentArray:(id)object
- {
- [_currentTest addObject:@"one"];
- [_currentTest addObject:@"two"];
- [_currentTest addObject:object];
- NSLog(@"My Array is:%@",_currentTest);
- }
- - (void)didReceiveMemoryWarning
- {
- [super didReceiveMemoryWarning];
- }
- - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
- {
- }
- @end
Advertisement
Add Comment
Please, Sign In to add comment