Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @IBAction func submitTapped(_ sender: Any) {
- //array.count is bigger than the number of appearing cells on the screen.
- for i in 0..<array.count {
- let index = IndexPath(row: i, section: 0)
- let cell = self.table.cellForRow(at: index) as! CustomTableViewCell
- for a in 0...6 {
- print(i)
- print(a)
- if let letter = cell.letter.text {
- print(letter)
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment