CustomStampConfig.swift 932 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //
  2. // CustomStampConfig.swift
  3. // PDF Reader Pro
  4. //
  5. // Created by Niehaoyu on 2024/6/19.
  6. //
  7. import Foundation
  8. let CSLeftArrowItemIdentifier = "CSLeftArrowItemIdentifier"
  9. let CSLeftTextItemIdentifier = "CSLeftTextItemIdentifier"
  10. let CSLeftDateItemIdentifier = "CSLeftDateItemIdentifier"
  11. let CSLeftIdentifyItemIdentifier = "CSLeftIdentifyItemIdentifier"
  12. let CSLeftShapeItemIdentifier = "CSLeftShapeItemIdentifier"
  13. let CSLeftStampItemIdentifier = "CSLeftStampItemIdentifier"
  14. @objc public enum CSToolbarType: NSInteger {
  15. case none = 0
  16. case move = 1//
  17. case text = 2
  18. case dateText = 3
  19. case idText = 4
  20. case image = 5
  21. case stamp = 6
  22. }
  23. @objcMembers class CustomStampManager: NSObject {
  24. //单例
  25. public static let manager = CustomStampManager()
  26. var isWindowShow: Bool = false
  27. override init() {
  28. super.init()
  29. }
  30. }