-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
640 additions
and
189 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+2.08 KB
(100%)
...codeproj/project.xcworkspace/xcuserdata/liuwei.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/********************* 有任何问题欢迎反馈给我 [email protected] ****************************************/ | ||
/*************** https://github.com/waynezxcv/Gallop 持续更新 ***************************/ | ||
/******************** 正在不断完善中,谢谢~ Enjoy ******************************************************/ | ||
|
||
|
||
|
||
|
||
|
||
#import <UIKit/UIKit.h> | ||
#import "Gallop.h" | ||
|
||
|
||
@interface ImageDemoTableViewCell : UITableViewCell | ||
|
||
|
||
@property (nonatomic,strong) LWLayout* layout; | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
/********************* 有任何问题欢迎反馈给我 [email protected] ****************************************/ | ||
/*************** https://github.com/waynezxcv/Gallop 持续更新 ***************************/ | ||
/******************** 正在不断完善中,谢谢~ Enjoy ******************************************************/ | ||
|
||
|
||
|
||
|
||
|
||
|
||
#import "ImageDemoTableViewCell.h" | ||
|
||
|
||
@interface ImageDemoTableViewCell () | ||
|
||
@property (nonatomic,strong) LWAsyncDisplayView* displayView; | ||
|
||
@end | ||
|
||
|
||
@implementation ImageDemoTableViewCell | ||
|
||
|
||
|
||
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier { | ||
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]; | ||
if (self) { | ||
|
||
self.backgroundColor = [UIColor whiteColor]; | ||
self.displayView = [[LWAsyncDisplayView alloc] initWithFrame:CGRectZero]; | ||
[self.contentView addSubview:self.displayView]; | ||
|
||
} | ||
return self ; | ||
} | ||
|
||
- (void)layoutSubviews { | ||
[super layoutSubviews]; | ||
self.displayView.frame = self.bounds; | ||
} | ||
|
||
- (void)setLayout:(LWLayout *)layout { | ||
if (_layout != layout) { | ||
_layout = layout; | ||
|
||
self.displayView.layout = self.layout; | ||
} | ||
} | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.