¡@

Home 

2014/10/15 ¤U¤È 10:10:55

iphone Programming Glossary: lastindexpath

Where is the memory leak in my UITableViewController?

http://stackoverflow.com/questions/6273931/where-is-the-memory-leak-in-my-uitableviewcontroller

#import MyManager.h #import FaxRecipient.h @implementation AddRemoteRecipientsTableViewController @synthesize lastIndexPath @synthesize delegate _delegate @synthesize faxRecipient IBAction btnSave IBAction btnDone void loadRemoteRecipients activityIndicator.startAnimating.. UITableViewCellStyleDefault reuseIdentifier CellIdentifier autorelease NSUInteger row indexPath row NSUInteger oldRow lastIndexPath row Configure the cell... FaxRecipient faxObject remoteRecipientItems objectAtIndex indexPath.row cell textLabel setText.. remoteRecipientItems objectAtIndex indexPath.row cell textLabel setText faxObject.name cell.accessoryType row oldRow lastIndexPath nil UITableViewCellAccessoryCheckmark UITableViewCellAccessoryNone cell.imageView.image UIImage imageNamed @ contact.png..