im building an app using coredata that will have following entities .. events(ie things to do), items(ie things available), requests(ie request for help). i want a table view where i can display all the above items which users can filter in various ways .. ie only show items, only show events, only show all in a certain time frame etc. my original idea in coredata was to make an entity called post and make that the parent entity of the event, item, and request entities. That way i could do a single fetchedresultscontroller (FRC) to populate the main tableview.
however ive run into problems with coredata creating correct nsmanagedobject subclasses using this structure and also read a few SO posts advising against parent-child structure in coredata when the database grows in size Core Data Performance with Single Parent Entity
so now, unless someone advises me otherwise, ive gone back to using separate item,event,request entities. now im trying to workout how to populate a main table with all these entities in a single table regardless of type, allows the filtering required above, and allows users to select a cell and have that table cell present the details of the selected cell. with this last requirement i assume ill need to pass the selected managed object of a certain entity type to the details screen and then do a swich on its type. any advice appreciated.