I am trying to build a CoreData model similar to Twitter user when User can have many other users who follows him and many other users followed by him. I attached the model that I have tried to use but seems it is getting to complicating to retrieve followers. What is the best way to deal with this situation?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
I think you need to create a second relationship (followedBy
) and make that the inverse.