猎豆优选

LXCalendarDayModel.h 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. //
  2. // LXCalendarDayModel.h
  3. // LXCalendar
  4. //
  5. // Created by chenergou on 2017/11/3.
  6. // Copyright © 2017年 漫漫. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @interface LXCalendarDayModel : NSObject
  10. @property (nonatomic, assign) NSInteger totalDays; //!< 当前月的天数
  11. @property (nonatomic, assign) NSInteger firstWeekday; //!< 标示第一天是星期几(0代表周日,1代表周一,以此类推)
  12. @property (nonatomic, assign) NSInteger year; //!< 所属年份
  13. @property (nonatomic, assign) NSInteger month; //!< 当前月份
  14. @property (nonatomic, assign) NSInteger day; //每天所在的位置
  15. @property(nonatomic,assign)BOOL isLastMonth;//属于上个月的
  16. @property(nonatomic,assign)BOOL isNextMonth;//属于下个月的
  17. @property(nonatomic,assign)BOOL isCurrentMonth;//属于当月
  18. @property(nonatomic,assign)BOOL isToday;//今天
  19. @property(nonatomic,assign)BOOL isSelected;//是否被选中
  20. /*
  21. * 当前月的title颜色
  22. */
  23. @property(nonatomic,strong)UIColor *currentMonthTitleColor;
  24. /*
  25. * 上月的title颜色
  26. */
  27. @property(nonatomic,strong)UIColor *lastMonthTitleColor;
  28. /*
  29. * 下月的title颜色
  30. */
  31. @property(nonatomic,strong)UIColor *nextMonthTitleColor;
  32. /*
  33. * 选中的背景颜色
  34. */
  35. @property(nonatomic,strong)UIColor *selectBackColor;
  36. /*
  37. * 今日的title颜色
  38. */
  39. @property(nonatomic,strong)UIColor *todayTitleColor;
  40. /*
  41. * 是否显示上月,下月的的数据
  42. */
  43. @property(nonatomic,assign)BOOL isShowLastAndNextDate;
  44. /*
  45. * 选中的是否动画效果
  46. */
  47. @property(nonatomic,assign)BOOL isHaveAnimation;
  48. @end