Core data allow external storage setting

Codecat15
3 min readJul 12, 2020

Usually, we don’t store binary files like images in the databases table for performance reasons and it totally makes sense because the databases may get a little slower when it tries to fetch all that high-resolution image.

So what we developers do is we save the image on the disk and store a reference of that image in the database table.

Now, this is effective, because the queries are faster and you can always pick up the image from the path where you stored it in your document directory folder and display it back on your UI.

--

--