Issue: Realm doesn't respond in a right way?


#1

Hello,
i’m using realm as local database
before: the database was appear fine and when I click on any row “inside a TableView–>passing to CollectionView” I can see all the details associated
now: the database was appear fine but!!! When I click on a row it only show the details of the (first row) of the whole data Ex: if I’ve data with 3 name John, Eric, Diana it gave me the details for John only even when I click on Diana! got it right?

Version: Xcode 10.1
Realm V13.13.0


#2

looks like I’ve the same issue with every app
I’ll leave a link for a project may someone break the code
https://gist.github.com/heythem500/770c6b64593e66b3316d26f2763e4dfc?fbclid=IwAR2VVO4Z19tV64a79YAWl1tKkzDliLEqvg6UqQp3u2XTbkNZ0vsOjh3NlLM