-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy path___PACKAGENAMEASIDENTIFIER___Section.m
More file actions
54 lines (38 loc) · 990 Bytes
/
___PACKAGENAMEASIDENTIFIER___Section.m
File metadata and controls
54 lines (38 loc) · 990 Bytes
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
//
// ___FILENAME___
// ___PACKAGENAME___
//
// Created by ___FULLUSERNAME___ on ___DATE___.
// Copyright (c) ___YEAR___ ___ORGANIZATIONNAME___. All rights reserved.
//
#import "___FILEBASENAMEASIDENTIFIER___.h"
@interface ___FILEBASENAMEASIDENTIFIER___ ()
@property (nonatomic, strong) NSBundle *bundle;
@property (nonatomic, strong) ___FILEBASENAMEASIDENTIFIER___View *view;
@property (nonatomic, weak) UIViewController <CCSectionDelegate> *delegate;
@end
@implementation ___FILEBASENAMEASIDENTIFIER___
- (instancetype)init {
self = [super init];
if (self) {
self.bundle = [NSBundle bundleForClass:[self class]];
}
return self;
}
- (CGFloat)sectionHeight {
return 50.0f;
}
- (void)loadView {
self.view = [[___FILEBASENAMEASIDENTIFIER___View alloc] init];
}
- (UIView *)view {
if (!_view) {
[self loadView];
}
return _view;
}
- (void)controlCenterWillAppear {
}
- (void)controlCenterDidDisappear {
}
@end