2

Is it possible to use RealmSwift on a server running Swift (eg Perfect, Vapor, Kitura etc.) and use it to store data?

(I was thinking to try it as an alternative to another solution, eg node.js+express+mongoDB.)

TheoK
  • 3,601
  • 5
  • 27
  • 37
  • Why shouldn't it be possible ? There are also MongoDB drivers for Swift. So you can use Swift + Mongo – denis631 Mar 12 '17 at 16:02
  • I am interested in the reactive features of Realm, and I already use it in my apps so I am already familiar with it. – TheoK Mar 12 '17 at 16:06
  • I would note that in your question. The fact, that you are interested in the reactive aspect. Meaning: using it with RxSwift, etc. – denis631 Mar 12 '17 at 16:07
  • I most probably will use RxSwift but Realm already has reactive features by itself (notifications, etc.) – TheoK Mar 12 '17 at 16:08

1 Answers1

2

Realm Swift is only available on Darwin platforms. Eventual Linux support is possible, but would require considerable changes to both Swift and Realm. This is being tracked in https://github.com/realm/realm-cocoa/issues/3263

jpsim
  • 14,329
  • 6
  • 51
  • 68