DateHeaderView.m 585 B

12345678910111213141516171819202122232425262728293031
  1. /**
  2. * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
  3. * SPDX-License-Identifier: GPL-3.0-or-later
  4. */
  5. #import "DateHeaderView.h"
  6. @interface DateHeaderView ()
  7. @property (strong, nonatomic) IBOutlet UIView *contentView;
  8. @end
  9. @implementation DateHeaderView
  10. - (instancetype)init
  11. {
  12. self = [super init];
  13. if (self) {
  14. [[NSBundle mainBundle] loadNibNamed:@"DateHeaderView" owner:self options:nil];
  15. [self addSubview:self.contentView];
  16. self.contentView.frame = self.bounds;
  17. }
  18. return self;
  19. }
  20. @end