cellForRowAtIndexPath memory management
问题 So, here's the code for my cellForRowAtIndexPath: - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"identifier"]; if (cell == nil) { cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:@"identifier"]autorelease]; } NSInteger artistIndex = 1; // 1 NSInteger albumIndex = 3; // 3 NSInteger dateIndex = 6; // 6 NSInteger imageIndex =