# Beginning RxSwift - Part 4: Creating | Ray Wenderlich Videos

**URL:** <https://forums.kodeco.com/t/beginning-rxswift-part-4-creating-ray-wenderlich-videos/41914>\
**Category:** 🎓 Courses & Articles\
**Created:** [April 24, 2018, 7:04pm UTC](https://forums.kodeco.com/t/beginning-rxswift-part-4-creating-ray-wenderlich-videos/41914 "2018-04-24T19:04:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![scotteg](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/scotteg/32/109788_2.png) [@scotteg](https://forums.kodeco.com/u/scotteg)\
**Post date:** [April 24, 2018, 7:04pm UTC](https://forums.kodeco.com/t/beginning-rxswift-part-4-creating-ray-wenderlich-videos/41914/1 "2018-04-24T19:04:05Z")

</div>

Go over several operators you can use to create observables from individual values and collections of values.

* * *
 This is a companion discussion topic for the original entry at [https://www.raywenderlich.com/4743-beginning-rxswift/lessons/4](https://www.raywenderlich.com/4743-beginning-rxswift/lessons/4)

---

<div class="post-metadata">

**Author:** ![carolbonturi](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/carolbonturi/32/86616_2.png) [@carolbonturi](https://forums.kodeco.com/u/carolbonturi)\
**Post date:** [November 18, 2019, 1:12pm UTC](https://forums.kodeco.com/t/beginning-rxswift-part-4-creating-ray-wenderlich-videos/41914/2 "2019-11-18T13:12:12Z")

</div>

Hi!  
Since prequelTrilogy is just one object (one array of Strings), couldn’t we use Observable.just([episodeI, episodeII])?

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [January 11, 2020, 9:10pm UTC](https://forums.kodeco.com/t/beginning-rxswift-part-4-creating-ray-wenderlich-videos/41914/3 "2020-01-11T21:10:19Z")

</div>

@scotteg Can you please help with this when you get a chance? Thank you - much appreciated! :]

---

<div class="post-metadata">

**Author:** ![scotteg](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/scotteg/32/109788_2.png) [@scotteg](https://forums.kodeco.com/u/scotteg)\
**Post date:** [January 12, 2020, 3:50pm UTC](https://forums.kodeco.com/t/beginning-rxswift-part-4-creating-ray-wenderlich-videos/41914/4 "2020-01-12T15:50:43Z")

</div>

Hi @carolbonturi, yes, you could use either operator here. Great observation! What I am pointing out here is, the `just` operator can _only_ take a single value, whereas the `of` operator can take a varying number of elements — i.e., it’s a variadic parameter. So if you pass a single value that is an array of values to `of`, that single array will be emitted all at once. However, if you pass those same values individually, each of those values will be emitted sequentially. That’s why I went with using `of` for `originalTrilogy` and `prequelTrilogy`, to demonstrate the difference.
