CPDFOutlineViewCell.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //
  2. // CPDFOutlineViewCell.h
  3. // ComPDFKit_Tools
  4. //
  5. // Copyright © 2014-2024 PDF Technologies, Inc. All Rights Reserved.
  6. //
  7. // THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
  8. // AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE ComPDFKit LICENSE AGREEMENT.
  9. // UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
  10. // This notice may not be removed from this file.
  11. //
  12. #import <UIKit/UIKit.h>
  13. NS_ASSUME_NONNULL_BEGIN
  14. @class CPDFOutlineModel;
  15. @class CPDFOutlineViewCell;
  16. @protocol CPDFOutlineViewCellDelegate <NSObject>
  17. @optional
  18. - (void)buttonItemClicked_Arrow:(CPDFOutlineViewCell *)cell;
  19. @end
  20. @interface CPDFOutlineViewCell : UITableViewCell
  21. @property (nonatomic, strong) UILabel *nameLabel;
  22. @property (nonatomic, strong) UILabel *countLabel;
  23. @property (nonatomic, strong) UIButton *arrowButton;
  24. @property (nonatomic, strong) CPDFOutlineModel *outline;
  25. @property (nonatomic, strong) NSLayoutConstraint *offsetX;
  26. @property (nonatomic, assign) BOOL isShow;
  27. @property (nonatomic, weak) id<CPDFOutlineViewCellDelegate> delegate;
  28. @end
  29. NS_ASSUME_NONNULL_END