You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bold lines are issue with me. How can i place label below for every asynchronous images inside my CustomCell. If i use the above line to add text it is not working either. I need clear explanation. Thanks in advance.
The text was updated successfully, but these errors were encountered:
Hai there,
#import "CHTCollectionViewWaterfallCell.h"
@implementation CHTCollectionViewWaterfallCell
if (!_imageView) {
_imageView = [[UIImageView alloc] initWithFrame:self.contentView.bounds];
_imageView.autoresizingMask = UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth;
_imageView.contentMode = UIViewContentModeScaleAspectFill;
[_imageView.layer setMasksToBounds:YES];
}
return _imageView;
}
-(UITextView *)textView{
if(!_textView){
_textView=[[UITextView alloc] init];
}
return _textView;
}
if (self = [super initWithFrame:frame]) {
[self.contentView addSubview:self.imageView];
[self.contentView addSubview:self.textView];
}
return self;
}
@EnD
The bold lines are issue with me. How can i place label below for every asynchronous images inside my CustomCell. If i use the above line to add text it is not working either. I need clear explanation. Thanks in advance.
The text was updated successfully, but these errors were encountered: