Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video.
The End0:52 with Pasan Premaratne
Let's wrap it all up and move on to the next thing!
Like I said at the beginning, this was a bit different from the pacing and
type of content that we usually cover.
My goal here was not to show you anything new in terms of the Swift language
features, but to show you how protocols can be really powerful in helping model,
and solve a fairly non-trivial problem.
If you didn't understand what we just did, I encourage you to watch it again or
try and implement it yourself, maybe try out a different example.
The reason we went through this exercise is that in a typical course of hours,
where we build an app, we learn a lot of new concepts.
And working through an example like this would make the course really large.
As you learn more and more Swift, keep these basics in mind.
It's hard figuring out how objects should be structured and
communicate with one another.
But as you write more code, you should get the hang of it.
You need to sign up for Treehouse in order to download course files.Sign up