There we go. Our sort button is back.
Constraint somehow got overridden or something.
I don't know what was going on.
That's not a great user interface but
I don't want to spend too much more time on that.
I just wanna have the sort button there for he future.
All right.
All right so we established that our view controller is the delegate for
our table view and we've written these three functions that are going to
provide the number of sections in the table view, which is one.
The number of rows in the section which is gonna be
three regardless of which section we get.
And we're going to return a cell, which is a copy of each of the elements.
Okay, so the next thing that would interesting
is if we would change the content of the label to be
equal to the value of, The row that we got.
So, that would be kind of an interesting thing to do.
So let's see if we can do that.
So, the first thing that we're gonna wanna do is, let's create
a subclass that is going to represent our cell object, all right?
So that's what we're gonna do next.
We're going to create a class that enables us to capture all
of the data associated with the cell.
So that's what we'll do next.
[MUSIC]