NSArray *wheelSizeArray = [NSArray arrayWithObjects:@"1", @"2", nil];
QRadioElement *wheelsRadio = [[QRadioElement alloc] initWithItems:wheelSizeArray selected:0 title:@"Wheel Size"];
__weak QRadioElement *weakWheelsRadio = wheelsRadio;
wheelsRadio.onSelected = ^{
QLabelElement *label = (QLabelElement *)[root elementWithKey:@"result"];
NSLog(@"%@", label.title);
label.title = [NSString stringWithFormat:@"%@", weakWheelsRadio.selectedItem];
[self.quickDialogTableView reloadData];
};
QLabelElement *resultLabel = [[QLabelElement alloc] init];
resultLabel.title = wheelsRadio.selectedItem;
resultLabel.key = @"result";