12345678910111213141516171819202122232425 |
- //
- // YXDeviceListHeaderView.m
- // Temperature
- //
- // Created by z on 2025/1/17.
- //
- #import "YXDeviceListHeaderView.h"
- @implementation YXDeviceListHeaderView
- - (id)initWithFrame:(CGRect)frame
- {
- if (self = [super initWithFrame:frame])
- {
- self.backgroundColor = [UIColor colorWithHexString:@"#F9F9F9"];
- self.titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(5, 5, SCREEN_WIDTH - 80, 20)];
- self.titleLabel.font = [UIFont boldSystemFontOfSize:14];
- self.titleLabel.textAlignment = NSTextAlignmentLeft;
- [self addSubview:self.titleLabel];
- }
- return self;
- }
- @end
|