# Intermediate Realm on iOS - Part 3: Multiple Realms | Ray Wenderlich

**URL:** <https://forums.kodeco.com/t/intermediate-realm-on-ios-part-3-multiple-realms-ray-wenderlich/30866>\
**Category:** 🎓 Courses & Articles\
**Created:** [June 13, 2017, 2:37pm UTC](https://forums.kodeco.com/t/intermediate-realm-on-ios-part-3-multiple-realms-ray-wenderlich/30866 "2017-06-13T14:37:17Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![icanzilb](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/icanzilb/32/109333_2.png) [@icanzilb](https://forums.kodeco.com/u/icanzilb)\
**Post date:** [June 13, 2017, 2:37pm UTC](https://forums.kodeco.com/t/intermediate-realm-on-ios-part-3-multiple-realms-ray-wenderlich/30866/1 "2017-06-13T14:37:18Z")

</div>

Learn how to split your app's data persistence needs across several files to isolate data or just use different Realm features per file.

* * *
 This is a companion discussion topic for the original entry at [https://www.raywenderlich.com/4200-intermediate-realm-on-ios/lessons/3](https://www.raywenderlich.com/4200-intermediate-realm-on-ios/lessons/3)

---

<div class="post-metadata">

**Author:** ![giguerea](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/giguerea/32/81494_2.png) [@giguerea](https://forums.kodeco.com/u/giguerea)\
**Post date:** [July 4, 2017, 2:06pm UTC](https://forums.kodeco.com/t/intermediate-realm-on-ios-part-3-multiple-realms-ray-wenderlich/30866/2 "2017-07-04T14:06:00Z")

</div>

Hi Marin, these realm tutorials are very interesting. You should do a part 3 targeting the Realm Object Server.

About the static Realm File that you included in the app. If we were using ROS, this static file would be shared across all our users for the data that is common, right?. But how would you populate this file ?

Let’s say I have a product catalog (public realm file) where my users could browse and place orders (private realm file). If the public catalog have 10000 products, what will be the strategy to manage these ?

So far I came up with these solutions:

1. Creating a private app that will manage the public realm file
2. Use the professional or enterprise edition to get server side access (however for anyone starting a new app, 1500$ per month is pretty expensive)

thanks

Alex

---

<div class="post-metadata">

**Author:** ![trindadealex](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/trindadealex/32/104022_2.png) [@trindadealex](https://forums.kodeco.com/u/trindadealex)\
**Post date:** [August 1, 2017, 4:36pm UTC](https://forums.kodeco.com/t/intermediate-realm-on-ios-part-3-multiple-realms-ray-wenderlich/30866/3 "2017-08-01T16:36:55Z")

</div>

Where can I find the download files about this lecture?

---

<div class="post-metadata">

**Author:** ![icanzilb](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/icanzilb/32/109333_2.png) [@icanzilb](https://forums.kodeco.com/u/icanzilb)\
**Post date:** [August 1, 2017, 4:50pm UTC](https://forums.kodeco.com/t/intermediate-realm-on-ios-part-3-multiple-realms-ray-wenderlich/30866/4 "2017-08-01T16:50:24Z")

</div>

Under the video player on the lesson page there is a button “Download materials” [https://videos.raywenderlich.com/courses/84-intermediate-realm-on-ios/lessons/3](https://videos.raywenderlich.com/courses/84-intermediate-realm-on-ios/lessons/3)

---

<div class="post-metadata">

**Author:** ![joyceview](https://s3.amazonaws.com/cdn.raywenderlich.com/community/forum-assets/noun-game-ghost-878668.png) [@joyceview](https://forums.kodeco.com/u/joyceview)\
**Post date:** [August 12, 2017, 9:32pm UTC](https://forums.kodeco.com/t/intermediate-realm-on-ios-part-3-multiple-realms-ray-wenderlich/30866/5 "2017-08-12T21:32:50Z")

</div>

Hi Martin,

Thanks for the course. It’s really helpful.  
I wonder when we have a newer version to deploy to the store, can we change the static.realm file? Since it’s ReadOnly, is it possible?  
If so, do we need to do the same migration like to the ReadWrite file?

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![icanzilb](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/icanzilb/32/109333_2.png) [@icanzilb](https://forums.kodeco.com/u/icanzilb)\
**Post date:** [August 13, 2017, 8:04am UTC](https://forums.kodeco.com/t/intermediate-realm-on-ios-part-3-multiple-realms-ray-wenderlich/30866/6 "2017-08-13T08:04:39Z")

</div>

For the static file - you can change it without worries as long as you change your classes to match its schema at the same time - e.g. an app update is great time to do that. You need migrations only if you’re using a file in the “library” or “documents” folders where it will be preserved between app updates.

p.s.: the name is “Marin” 🙂

---

<div class="post-metadata">

**Author:** ![joyceview](https://s3.amazonaws.com/cdn.raywenderlich.com/community/forum-assets/noun-game-ghost-878668.png) [@joyceview](https://forums.kodeco.com/u/joyceview)\
**Post date:** [August 14, 2017, 3:02pm UTC](https://forums.kodeco.com/t/intermediate-realm-on-ios-part-3-multiple-realms-ray-wenderlich/30866/7 "2017-08-14T15:02:00Z")

</div>

Thank you so much for your reply, Matin! 😊 Sorry for the misspell of your name!

This tutorial is really helpful! Thanks a lot!

---

<div class="post-metadata">

**Author:** ![icanzilb](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/icanzilb/32/109333_2.png) [@icanzilb](https://forums.kodeco.com/u/icanzilb)\
**Post date:** [August 14, 2017, 4:28pm UTC](https://forums.kodeco.com/t/intermediate-realm-on-ios-part-3-multiple-realms-ray-wenderlich/30866/8 "2017-08-14T16:28:31Z")

</div>

I’m sorry to be that guy (and really no hard feelings) but you misspelled the name again 😂

---

<div class="post-metadata">

**Author:** ![joyceview](https://s3.amazonaws.com/cdn.raywenderlich.com/community/forum-assets/noun-game-ghost-878668.png) [@joyceview](https://forums.kodeco.com/u/joyceview)\
**Post date:** [August 14, 2017, 4:35pm UTC](https://forums.kodeco.com/t/intermediate-realm-on-ios-part-3-multiple-realms-ray-wenderlich/30866/9 "2017-08-14T16:35:27Z")

</div>

Oh man!! 😓  
Sorry Marin! At least I didn’t just copy paste. Now I really remember your name! 😀  
Hi Marin!

---

<div class="post-metadata">

**Author:** ![icanzilb](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/icanzilb/32/109333_2.png) [@icanzilb](https://forums.kodeco.com/u/icanzilb)\
**Post date:** [August 14, 2017, 5:08pm UTC](https://forums.kodeco.com/t/intermediate-realm-on-ios-part-3-multiple-realms-ray-wenderlich/30866/10 "2017-08-14T17:08:27Z")

</div>

true, definitely not copied and pasted! no worries
