Xcode UITableview具有EXT\u BAD\u访问权限,然后向下滚动

Xcode UITableview具有EXT\u BAD\u访问权限,然后向下滚动,xcode,parsing,uitableview,Xcode,Parsing,Uitableview,我在.h文件中有以下代码 #import <UIKit/UIKit.h> @interface MessDisViewController : UIViewController { IBOutlet UITableView * DisTable; NSMutableArray *massages; UIActivityIndicatorView * activityIndicator; CGSize cellSize; NSXMLParser * friendsParser; N

我在.h文件中有以下代码

#import <UIKit/UIKit.h>


@interface MessDisViewController : UIViewController {
IBOutlet UITableView * DisTable;
NSMutableArray *massages;
UIActivityIndicatorView * activityIndicator;
CGSize cellSize;
NSXMLParser * friendsParser;
NSMutableDictionary * listOfFriends;
NSString * currentElement;
NSMutableString * currentID, * currentFname;
}
-(void) parseXMLFileAtURL:(NSString *) myUrl;
-(UITableViewCell *) getCellContentView:(NSString *)cellIdentifier;
@end

当我在模拟器上向下滚动我的tableview时,它有一个EXT_BAD_访问它发生的原因以及如何解决这个问题

Double-click an executable in the Executables group of your Xcode project.
Click the Arguments tab.
In the "Variables to be set in the environment:" section, make a variable called "NSZombieEnabled" and set its value to "YES". 
祝你好运解决这个问题

int storyIndex = [indexPath indexAtPosition: [indexPath length] - 1];


NSString *title = [[[massages objectAtIndex: storyIndex] objectForKey: @"theme"] stringByReplacingOccurrencesOfString:@"*" withString:@" "];
NSLog(@"%@",title);
lblTemp1.text = title;
lblTemp2.text= [NSString stringWithFormat:@"%@, %@",[[massages objectAtIndex: storyIndex] objectForKey: @"login"],[[massages objectAtIndex: storyIndex] objectForKey: @"activate_date"]];
return cell;
int storyIndex = [indexPath indexAtPosition: [indexPath length] - 1];


NSString *title = [[[massages objectAtIndex: storyIndex] objectForKey: @"theme"] stringByReplacingOccurrencesOfString:@"*" withString:@" "];
NSLog(@"%@",title);
lblTemp1.text = title;
lblTemp2.text= [NSString stringWithFormat:@"%@, %@",[[massages objectAtIndex: storyIndex] objectForKey: @"login"],[[massages objectAtIndex: storyIndex] objectForKey: @"activate_date"]];
return cell;