Re:Show HN: Realm (YC S11), a mobile database
by tillk on Tuesday July 15, 2014 @03:56PM
(#8038617)
I'm somewhat of a newbie in regards to developing on mobile devices. Got any documentation how this is done from the phone?
[ Parent
| on HN ]
Re:Show HN: Realm (YC S11), a mobile database
by kneth on Wednesday July 16, 2014 @06:15AM
(#8041350)
I'm Kenneth at Realm. As realm databases are files on the phone's file system, you can use the common classes for manipulating them. To do a backup, the NSFileManager class might be useful (the copyItemAtURL method might be what you're looking for). See https://developer.apple.com/library/mac/documentation/Cocoa/... for details.