Skip to content

Commit f33dcfa

Browse files
committed
增加xib/storyboard支持
1 parent 76e41fd commit f33dcfa

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

PodCode/Classes/CRBoxInputView.m

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,17 @@ - (instancetype)initWithFrame:(CGRect)frame
4343
return self;
4444
}
4545

46+
- (instancetype)initWithCoder:(NSCoder *)coder
47+
{
48+
self = [super initWithCoder:coder];
49+
if (self) {
50+
[self initDefaultValue];
51+
[self addNotificationObserver];
52+
}
53+
54+
return self;
55+
}
56+
4657
- (instancetype)init
4758
{
4859
self = [super init];

0 commit comments

Comments
 (0)