Can someone help to check my code? i can't seem to find the out of bounds part
- (void)viewDidLoad
{
[super viewDidLoad];
sectionsArray = [[NSArray alloc] initWithObjects:[[NSNumber alloc]initWithInt:4],[[NSNumber alloc]initWithInt:2], nil];
self.title = [[[NSBundle mainBundle]infoDictionary]objectForKey:@"CFBundleName"];
menuList = [[NSMutableArray alloc]init];
[menuList addObject: [NSMutableDictionary dictionaryWithObjectsAndKeys: NSLocalizedString(@"Keywords", @"Keywords Section"),kSelectKey,NSLocalizedString(@"Words to identify pattern", @"Words to identify pattern Explain"),kDescriptKey,nil,kControllerKey,nil]];
menuList = [[NSMutableArray alloc]init];
[menuList addObject: [NSMutableDictionary dictionaryWithObjectsAndKeys: NSLocalizedString(@"Twitter Feed", @"Twitter Section"),kSelectKey,NSLocalizedString(@"Twitter", @"Twitter Explain"),kDescriptKey,nil,kControllerKey,nil]];
menuList = [[NSMutableArray alloc]init];
[menuList addObject: [NSMutableDictionary dictionaryWithObjectsAndKeys: NSLocalizedString(@"Product Review", @"Product Review Section"),kSelectKey,NSLocalizedString(@"Sentiment s of Product", @"Sentiments of Product Explain"),kDescriptKey,nil,kControllerKey,nil]];
menuList = [[NSMutableArray alloc]init];
[menuList addObject: [NSMutableDictionary dictionaryWithObjectsAndKeys: NSLocalizedString(@"Graphs", @"Keywords Section"),kSelectKey,NSLocalizedString(@"Analysis" , @"Analysis Explain"),kDescriptKey,nil,kControllerKey,nil]];
menuList = [[NSMutableArray alloc]init];
[menuList addObject: [NSMutableDictionary dictionaryWithObjectsAndKeys: NSLocalizedString(@"Hotels", @"Hotels Section"),kSelectKey,NSLocalizedString(@"Nearby Hotels", @"Nearby Hotels Explain"),kDescriptKey,nil,kControllerKey,nil]];
}
// Customize the appearance of table view cells.
- (UITableViewCell *)tableView

UITableView *)tableView cellForRowAtIndexPath

NSIndexPath *)indexPath
{
// static NSString *CellIdentifier = @"Cell";
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:kCellIdentifier];
if (cell == nil) {
cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:kCellIdentifier] autorelease];
cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
CGRect subViewFrame = cell.contentView.frame;
subViewFrame.origin.x += kInset;
subViewFrame.size.width = kInset+kSelectLabelWidth;
UILabel *selectLabel = [[UILabel alloc]initWithFrame:subViewFrame];
selectLabel.textColor = [UIColor blackColor];
selectLabel.highlightedTextColor=[UIColor whiteColor];
selectLabel.font = [ UIFont boldSystemFontOfSize:18];
selectLabel.backgroundColor = [UIColor clearColor];
[cell.contentView addSubview:selectLabel];
subViewFrame.origin.x +=kInset+kSelectLabelWidth;
subViewFrame.size.width = kDescriptLabelWidth;
UILabel *descriptLabel = [[UILabel alloc]initWithFrame:subViewFrame];
descriptLabel.textColor = [UIColor grayColor];
descriptLabel.highlightedTextColor=[UIColor whiteColor];
descriptLabel.font = [UIFont systemFontOfSize:14];
descriptLabel.backgroundColor = [UIColor clearColor];
[cell.contentView addSubview:descriptLabel];
int menuOffset = (indexPath.section*kSection1Rows)+ indexPath.row;
NSDictionary *cellText = [menuList objectAtIndex:menuOffset];
selectLabel.text = [cellText objectForKey:kSelectKey];
descriptLabel.text=[cellText objectForKey:kDescriptKey];
[selectLabel release];
[descriptLabel release];
}