How link in swift code an realm sync created directly in Realm Studio


#1

Hello,

I am new in development world and I am working on an app who use Realm.
It’s ok for me to create local realm, sync realm (from Xcode project) but I need to create a common realm database for all users (questions for quizz) and I arrive to create it in realm Studio but I don’t know how to query it or save it in Xcode project with swift code.
Do you know where is the process ? or how I must do ?

Thanks in advance


#2

You should start by going through the Realm getting started guide which will introduce concepts and show you how to read and write data locally.

Then, go through the Realm Object Server getting started guide which will give you an overview of working with the cloud database.

https://docs.realm.io/platform/getting-started-1