Retriving stored data in realm Swift
问题 I have a todo application which I am using realm to store data. i have writen the database codes for writing to the database and retrive. I have also worked on this particular project before in as a single page code but now I want to improve it by using the MVC approach. this is my codes. //MARK:- Create Category func createCategory(name: String, color: String, isCompleted: Bool) -> Void { category.name = name category.color = color category.isCompleted = false DBManager.instance.addData