-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSTAHeaderView.m
More file actions
37 lines (29 loc) · 1.17 KB
/
STAHeaderView.m
File metadata and controls
37 lines (29 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//
// STAHeaderView.m
// STACollapsableTable
//
// Created by Aaron Jubbal on 9/30/16.
// Copyright © 2016 Aaron Jubbal. All rights reserved.
//
#import "STAHeaderView.h"
@interface STAHeaderView ()
@property (nonatomic, strong) IBOutlet UIImageView *collapsedStatusImageView;
@property (nonatomic, strong) IBOutlet UILabel *titleLabel;
@end
@implementation STAHeaderView
@dynamic collapsedStatusImageView;
@dynamic titleLabel;
+ (instancetype)createHeaderInSection:(NSInteger)section
fromModel:(STACellModel *)cellModel
tableModel:(STACollapsableTableModel *)tableModel
nibName:(NSString *)nibName
userInfo:(NSDictionary *)userInfo
{
STAHeaderView *view = (STAHeaderView *)[super createHeaderInSection:section
fromModel:cellModel
tableModel:tableModel
nibName:nibName
userInfo:userInfo];
return view;
}
@end