Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem when implementing on UITableViewCell #15

Closed
bigearsenal opened this issue Oct 25, 2019 · 5 comments
Closed

Problem when implementing on UITableViewCell #15

bigearsenal opened this issue Oct 25, 2019 · 5 comments

Comments

@bigearsenal
Copy link

I have implemented and UIImageView inside a subview on a UITableViewCell.
The InitialsImage didn't show up until I scrolled and cell was reused.
Any ideas?
Thank you!
ảnh
ảnh
ảnh
ảnh

@bigearsenal
Copy link
Author

ezgif com-video-to-gif

@bachonk
Copy link
Owner

bachonk commented Oct 26, 2019

That is odd, are you using a nib (.xib file) for your custom cell?

Great looking app by the way, would love to hear what it is.

@bigearsenal
Copy link
Author

Hi there!
Thank you 😊.
I'm not using Interface Builder at all.
Perhaps, the frame of imageView wasn't counted at the time setUp was called.
I've tried just setup dummy frame {0,0,100,100} for image before setImageForName and it works :)

@bachonk
Copy link
Owner

bachonk commented Oct 27, 2019

Ok great, can I close this out?

@bigearsenal
Copy link
Author

bigearsenal commented Oct 28, 2019

Hi. Yes. But i think you should make a note in Readme file for notice s.o. who doesn't use interface builder like me.
Maybe, when the imageView wasn't loaded from nib, the size of imageView was ambiguous, which caused problem
Thank you )

@bachonk bachonk closed this as completed Oct 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants