Core Data read/write works