News for hackers. Stuff that matters.
Re:Show HN: Realm (YC S11), a mobile database by astigsen on Tuesday July 15, 2014 @02:24PM (#8038114)
The database is stored in a single file that is easily backed up. It does not have any explicit integration with iCloud, but you can easily use it to back up a copy of the db, or you can stream the copy back home yourself via ftp or http.
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?
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.