ALValueCell.h 708 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #import <UIKit/UIKit.h>
  2. @protocol ALValueCellDelegate;
  3. @interface ALValueCell : UITableViewCell {
  4. @private
  5. id<ALValueCellDelegate> delegate;
  6. }
  7. @property (nonatomic, assign) id<ALValueCellDelegate> delegate;
  8. - (void)loadValue:(id)value; // Deprecated
  9. - (void)loadValue:(id)value withTitle:(NSString *)title;
  10. - (void)didSelect;
  11. @end
  12. @protocol ALValueCellDelegate <NSObject>
  13. @required
  14. - (void)valueCell:(ALValueCell *)valueCell didChangeToValue:(id)newValue;
  15. @end
  16. @interface ALSwitchCell : ALValueCell {
  17. @private
  18. UISwitch *switchView;
  19. }
  20. @property (nonatomic, readonly) UISwitch *switchView;
  21. @end
  22. @interface ALCheckCell : ALValueCell
  23. @end
  24. @interface ALDisclosureIndicatedCell : ALValueCell
  25. @end