Realms as documents?


I’d like to build an application to support multiple documents (subclassing NSDocument), where each document is a different realm database. Has anyone set up such a thing or know where I might find an example of doing so on line?


That seems like a bit unusual. Can you elaborate on your use case? Why does each document need to be a totally separate database? It shouldn’t be too much of a challenge to map NSDocument data to a separate database but what kind of objects will you be storing in each database and why do they need to be separated in that fashion?