Guest User

Untitled

a guest
Dec 16th, 2017
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. @IBAction func submitTapped(_ sender: Any) {
  2.  
  3. //array.count is bigger than the number of appearing cells on the screen.
  4.  
  5. for i in 0..<array.count {
  6. let index = IndexPath(row: i, section: 0)
  7. let cell = self.table.cellForRow(at: index) as! CustomTableViewCell
  8. for a in 0...6 {
  9. print(i)
  10. print(a)
  11. if let letter = cell.letter.text {
  12. print(letter)
  13. }
  14. }
  15. }
  16. }
Add Comment
Please, Sign In to add comment