RETableViewManager
RETableViewManager copied to clipboard
itemWithImageNamed don't show image , also custom item & cell
itemWithImageNamed don't show image , also custom item & cell, Like Demo in "ListImageCell"
- (void)cellWillAppear { [super cellWillAppear]; [self.pictureView setImage:[UIImage imageNamed:self.imageItem.imageName]]; } but, self.imageItem.imageName is nil,I don't konw what happened!
i also find this problem ,do you solve it
i have the same problem, how to fix?
-
(void)cellWillAppear { [super cellWillAppear];
self.myCustomViewItem = (MyCustomViewItem *)self.item; you must,assgin self.item value to customViewItem before use customViewItem. Like this , it work good!!! 英语不好见谅啊
this commit sucks https://github.com/romaonthego/RETableViewManager/commit/48b16f0dee7d4ff68301e675b9061fba0a58d625