Skip to content

Commit

Permalink
修复flexxmlbaseview的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenglibao committed Feb 20, 2019
1 parent e431cf0 commit 78174be
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 18 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
**FlexLib**的所有版本的变更日志都将会在这里记录.

---
## 2.2.2
修复FlexXmlBaseView的bug

## 2.2.1
1. UILabel的富文本支持国际化
2. FlexXmlBaseView增加代码创建方式
Expand Down
2 changes: 1 addition & 1 deletion FlexLib.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'FlexLib'
s.version = '2.2.1'
s.version = '2.2.2'
s.summary = 'An obj-c flex layout framework for IOS'

# This description is used to generate tags and improve search results.
Expand Down
17 changes: 0 additions & 17 deletions FlexLib/Classes/FlexXmlBaseView.m
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,6 @@ - (instancetype)init
return self;
}

- (instancetype)initWithFrame:(CGRect)frame
{
self = [super initWithFrame:frame];
if (self) {
NSAssert(NO, @"Flexbox: the derived class of FlexXmlBaseView should be used only in xml");
}
return self;
}
- (instancetype)initWithCoder:(NSCoder *)coder
{
self = [super initWithCoder:coder];
if (self) {
NSAssert(NO, @"Flexbox: the derived class of FlexXmlBaseView should be used only in xml");
}
return self;
}

-(instancetype)initWithRootView:(FlexRootView*)rootview
{
self = [self init];
Expand Down

0 comments on commit 78174be

Please sign in to comment.