0

To return the number of cells there are in the tableView

return self.myExample.count

returns the same amount of cells as

return myExample.count

I wanted to ask what is the reason of the self? In the above code, myExample is a array which contains names and should be displayed on a tableView.

rmaddy
  • 314,917
  • 42
  • 532
  • 579

0 Answers0