I'm basically trying to recreate a folder system using Core Data. I have an entity (folder) that that holds many of the same entities (folders). While initialising Core Data Stack I can display all of the folders, but I'm not sure how to approach storing an always persistent Core Data entity that will be a "root" folder for all others. (Think of it as 'Macintosh HD' in finder).
I was thinking of creating a separate root entity that has no deletion rule and count it as "root" folder and then add folders to it (while creating a new folder I could just use functions provided by Core Data relationships and add to the root entity). Could this be a proper approach?