LookinAttributesGroup.h 697 B

12345678910111213141516171819202122232425262728293031
  1. #ifdef SHOULD_COMPILE_LOOKIN_SERVER
  2. //
  3. // LookinAttributesGroup.h
  4. // Lookin
  5. //
  6. // Created by Li Kai on 2018/11/19.
  7. // https://lookin.work
  8. //
  9. #import <Foundation/Foundation.h>
  10. #import "LookinAttrIdentifiers.h"
  11. @class LookinAttributesSection;
  12. /**
  13. 在 Lookin 中,一个 LookinAttributesGroup 会被对应渲染为一张卡片
  14. 如果两个 attrGroup 有相同的 LookinAttrGroupIdentifier,则 isEqual: 返回 YES
  15. */
  16. @interface LookinAttributesGroup : NSObject <NSSecureCoding, NSCopying>
  17. @property(nonatomic, copy) LookinAttrGroupIdentifier identifier;
  18. @property(nonatomic, copy) NSArray<LookinAttributesSection *> *attrSections;
  19. @end
  20. #endif /* SHOULD_COMPILE_LOOKIN_SERVER */