Hi all, Im planning on using CoreData to model a “News” iOS app. This’ll have many sections (read tab UITabBarItem) which will contain many articles (in a UITableView). The articles might appear in other sections too. Also the sort order of each article is another important factor.
In database lingo I’d have . “Article” table . “Sections” table and a . “Article_Sections” table to map an article to a section with additional sort order field.
I have tried and can’t model this in CoreData. Im stuck with a “Section” class having a many-to-many relationship with a “Article” class (with an inverse many-to-many relationship to the “Section” class). However with this I don’t know how to derive the sort order.
Any hint on how to do this is very much appreciated. Thanks in advance.