ios - How to initialize a Realm DB -


i want app ship out pre-initialized db.

in sql, create db, necessary inserts, pg_dump file, , load file. i'm sure realm has equivalent method, i'm not sure , couldn't find in documentation.

(disclaimer: work realm)

there's no pg_dump-like functionality in realm, can distribute pre-built realm file along app , that'll work fine. :)

at moment, best way create pre-made realm file make small sample app generate , populate file, we're working on adding functionality realm browser well.


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -