Different realm files migration

10 views
Skip to first unread message

Xavi R. Pinteño

unread,
Jan 21, 2016, 3:05:07 PM1/21/16
to Realm
Hi,
   I have an app where I'l be using a per-user realm file. At app launch I still don't know what user is the one that
will be logged in, and I'm unsure what would be the best approach to perform a hypothetical migration when needed.

My first doubt comes whether it is really needed for that migration to be done in AppDelegate's didFinishLaunchingWithOptions: function.

If that's really the case, should I just iterate over all possible realm files and do the migration in there?

Thanks in advance,
   Xavi
Reply all
Reply to author
Forward
0 new messages