SynchronizedCoreDataManager
- How to have thread-safe entities?
- We needed a proper sequencing between every database transaction.
- How to have prioritized tasks?
- Converting non-thread-safe entities to a thread-safe entity. We call it Entity.
- Modifying the blocks into a class Transaction. Only one Transaction can execute at a time.
- Maintaining the list of priority and all-other tasks independently. Writing SynchronizedCoreDataManager to handle this.
The project also contains the example: Example-Entities:
- VoteEntity
- ArticleEntity
Example-Transactions:
- ReadAllArticles
- WriteAllArticles
- WriteVote