我与UITableView
我看到了UIKit调用的这种方法。
CoreFoundation
__exceptionPreprocess + 130
2 CoreFoundation
-[__NSArrayM objectAtIndex:] + 230
3
___
__NotificationHistoryDataSource.m line 152
-[__NotificationHistoryDataSource tableView:cellForRowAtIndexPath:]
4
___
___MenuDataSource.m line 141
-[___MenuDataSource tableView:cellForRowAtIndexPath:]
5
UIKit
-[UITableView _createPreparedCellForGlobalRow:withIndexPath:] + 410
6
UIKit
-[UITableView _updateVisibleCellsNow:] + 1806
7
UIKit
-[UITableView _visibleCells] + 24
8
UIKit
-[UITableView _updateAnimationDidStop:finished:context:] + 1064
9
UIKit
__46-[UITableView _updateWithItems:updateSupport:]_block_invoke831 + 66
10
UIKit
-[UIViewAnimationBlockDelegate _sendDeferredCompletion:] + 66
我怎么知道我呼叫UITableView
的方法是什么?
更新了崩溃日志
这里我有两张表格
菜单:
case MenuSectionNotification:{
return [super tableView:tableView cellForRowAtIndexPath:indexPath];
break;
}
继承自通知
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
return 1;
}
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
self.mySection = section;
return [self.notificationList count];
}
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
int row = [indexPath row];
--NotificationCell* cell = [tableView dequeueReusableCellWithIdentifier: [---NotificationCell identifier]];
---Notification* notification = nil;
notification = [self.notificationList objectAtIndex:row];