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# - SharpDX Toolkit models rendering inside out -

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