PaoloCuscela / Cards

Awesome iOS 11 appstore cards in swift 5.
MIT License
4.2k stars 274 forks source link

Tableview bug - After open 3-4 cells, the detailedView is empty #104

Closed asbis closed 5 years ago

asbis commented 5 years ago

Hi,

I really love this project! I have a issue, after opened up some few cells, the detailedView is empty. See the gif for example. This example is from the Demo.

TableViewIssue2

How can i fix this?

Thanks

asbis commented 5 years ago

If someone else have this problem. I got someone to fix it. Here is a demo that has the issue fixed. Just copy the source fil to your project and it should work.

Demo 2 (2).zip

PaoloCuscela commented 5 years ago

Thank you very much @asbis :D

PaoloCuscela commented 5 years ago

I will include this fix in the next release with the update to swift 5 :heart:

omarmhaimdat commented 5 years ago

@asbis Can you please explain what was the problem?

asbis commented 5 years ago

Have you tried to download the demo 2 file in this tread? You can use the source code from it in your project and see if it works. If you have used pod to install, just remove it and copy these source file.

omarmhaimdat commented 5 years ago

I replace it with the "source" folder?

asbis commented 5 years ago

yes, just drag it into your project. If this does not fix your problem. Then it might be your reusable cell that cause this problem.

omarmhaimdat commented 5 years ago

Wooow it does work perfectly! Thank you so much @asbis and @PaoloCuscela

asbis commented 5 years ago

No problem! i think that @PaoloCuscela have updated the code with the fix if i am not mistaken. But glad i could help others with this issue.