I have Mac and IOS apps which store their cata in cloudkit. I am running a business on this app and it works pretty well now, synching across all devices and keeping a coredata database on each device. I wonder if I could market this app to multiple customers and share the database container.
Possibilities:
1) duplicate the container for each customer
I don't know if this is supported. If it is, I would prefer this method.
2) share the public database with all customers keeping their data separate programmatically.
Issue: synching is accomplished primarily using alerts from the database. All users would get alerts for any record changes for all companies. I don't think that is tenable. One solution there could be to disable the alerts and just call a synch routine for all tables periodically.
Any suggestions would be appreciated.