Open hqlulu opened 8 years ago
Xcode 7.1 IOS 9.1
QSection *section1 = [[QSection alloc] initWithTitle:@"Radio element with push"]; QRadioElement *element0 = [[QRadioElement alloc] initWithItems:[NSArray arrayWithObjects:@"Football", @"Soccer", @"Formula 1", nil] selected:0]; [section1 addElement:element0]; [root addSection:section1];
QuickDialogTableView _contentOffsetForScrollingToRowAtIndexPath:atScrollPosition:]: row (0) beyond bounds (0) for section (0) fix it by this way:
QuickDialogTableView _contentOffsetForScrollingToRowAtIndexPath:atScrollPosition:]: row (0) beyond bounds (0) for section (0)
error code at QuickDialogController.m line 116
- (void)viewWillAppear:(BOOL)animated { _viewOnScreen = YES; [self.quickDialogTableView deselectRows]; [super viewWillAppear:animated]; if (_root!=nil) { self.title = _root.title; self.navigationItem.title = _root.title; if (_root.preselectedElementIndex !=nil) [self.quickDialogTableView scrollToRowAtIndexPath:_root.preselectedElementIndex atScrollPosition:UITableViewScrollPositionTop animated:NO]; } }
set a controllerName:
QSection *section1 = [[QSection alloc] initWithTitle:@"Radio element with push"]; QRadioElement *element0 = [[QRadioElement alloc] initWithItems:[NSArray arrayWithObjects:@"Football", @"Soccer", @"Formula 1", nil] selected:0]; element0.controllerName = @"ExampleViewController"; [section1 addElement:element0]; [root addSection:section1];
- (void)viewWillAppear:(BOOL)animated { [self.quickDialogTableView reloadData]; [super viewWillAppear:animated]; }
it can be fixed
Xcode 7.1 IOS 9.1
click the row, then got an exception:
error code at QuickDialogController.m line 116
set a controllerName:
code for ExampleViewController
it can be fixed