SelectOrderTableViewCell.m 713 B

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // selectOrderTableViewCell.m
  3. // iSales-NPD
  4. //
  5. // Created by Ray on 9/3/16.
  6. // Copyright © 2016 United Software Applications, Inc. All rights reserved.
  7. //
  8. #import "SelectOrderTableViewCell.h"
  9. @implementation SelectOrderTableViewCell
  10. - (void)awakeFromNib {
  11. [super awakeFromNib];
  12. // Initialization code
  13. }
  14. - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
  15. [super setSelected:selected animated:animated];
  16. // Configure the view for the selected state
  17. // self.selected = NO;
  18. // self.checkedButton.selected = !self.checkedButton.selected;
  19. }
  20. - (IBAction)checkButtonClick:(UIButton *)sender {
  21. if (self.checkBlock) {
  22. self.checkBlock();
  23. }
  24. }
  25. @end