How To Preload BundleURL of Images In Swift?

platform
docs
cloud

#1

I have a couple hundreds of images that is bundled with the app. I want to be able to use Realm Database to quickly sort/filter the images. To get access to the images, I assume the correct way would be to get the bundle url of each image and store the bundle url of each image in the database. How do I preload a bunch of data? Should I do it once when users open the app for the first time or should can I do this before I ship the app?


#2

It depends on your need, but I think its better if you bundle the DB with your app.
Unnecessary computing time for the users, if you do it on the first app start.