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

swift - Button on Table View Cell connected to local function -

dns - Dokku server hosts two sites with TLD's, both domains are landing on only one app -

c# - ajax - How to receive data both html and json from server? -