Closed milanivarni closed 8 years ago
I've updated this repository for Xcode 8 today. Is it crashing on latest build? Which version of xcode are you using?
@milanivarni Is the issue solved? Latest code is for Xcode 8. If you are using Xcode 7.2 you can download older release from https://github.com/rishi420/ExpandableTableView/releases.
Issue did not reproduce in latest code. Issuer is not responding.
HI, I am new in iOS. Recently I used on this library in my project. I have two NSMutableArray: (1) questionArray -> 11 Objects (2) answerArray -> 11 Objects
I wrote following code:
(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
return [self.tableView totalNumberOfRows:1 inSection:section]; }
(UITableViewCell )tableView:(UITableView )tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
UITableViewCell _cell = [tableView dequeueReusableCellWithIdentifier:@"Cell"]; cell.textLabel.text = *_answerArray**[indexPath.row]; return cell; }
(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
return questionsArray.count; }
pragma mark - UITableViewDelegate
there is some layout issues for cells.
\ (<FAQController: 0x7fd36d44b740>)
when I tap on particular header. App stuck on [self endUpdates] and crashed. I got following error:
* Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'UITableView (<ExpandableTableView: 0x7fd3689a9e00; baseClass = UITableView; frame = (0 0; 320 568); clipsToBounds = YES; autoresize = RM+BM; gestureRecognizers = <NSArray: 0x7fd36d4d5150>; layer = <CALayer: 0x7fd36a9c0cc0>; contentOffset: {0, 0}; contentSize: {320, 550}>) failed to obtain a cell from its dataSource
So, please help me out from this.
Thanks.