Everybody what's going on.
This is Caleb with Dove's lips dot com.
And in this video you've got yourself a challenge.
We're going to challenge you in your knowledge of transformations.
And let's go headon.
I'll give you your challenge now.
Pull open your X playground right click on Zip create a new playground page and we'll call this Tran's
formations Dasch challenge.
All right go ahead and select all and delete it.
And here are your challenges.
Boom.
So for map your challenge is to create a name capitalize or create an observable containing three names
of type string.
Then use map to capitalize every element.
Subscribe printing each element and then add the observable to the Dispose bag next for a flat map.
Create a variable called car price of type variable holding the cost of a car.
Create a publish subject called Car subject of type variable with a type int.
OK so a variable of type int call flat map on the car subject and cast each element as an observable.
Subscribe and print out each new observable add to the Dispose bag and be sure to call on next to pass
in the car price observable below the subscription.
OK so next filter create a struct called element and give it three properties.
Name of type String abbreviation of type string and periodic number of type int create five instances
of element 4 different elements on the periodic table.
Google the periodic table if you must then create an observable that includes all five element instances.
You create it.
Use filter to filter out any elements whose periodic number is less than 10.
Subscribe and print out all three properties for each element name abbreviation and periodic number.
Then add the subscription to the Dispose bag.
And finally for.
Create two observable instances one called name observable and the other called username observable
using dot of.
At the end of both observables pass three first names of type string into name observable then pass
in 3 user names into user name observable below that create a new observable and using Zip create a
string literal using the values.
Dollar Signs 0 and dollar sign 1 for example like this.
You can use string encapsulation to print the value here and then a colon and then dollar sign one to
print out the username subscribe and in the next closure.
Print out the observable that is created by the zip function.
Add to dispose back.
So there's your challenge.
You're going to use all four of the transformation functions that you learned.
Good luck with this challenge and we'll see in the next section where we're going to start putting our
Ex-White into practice building real apps.
I'll see over there.