# TablesDelegate

public protocol TablesDelegate

A protocol that helps you communicate and interact with user input in Tables

•  updateCellCode(code:x:y:) 

#### Declaration

Swift

func updateCellCode(code: String, x: Int, y: Int)

#### Parameters

  code  The content of the updated cell.  x  The x coordinate of the cell. For example, when we want to update B4, it will call this function with x = 1 as B is the second letter in the alphabet and we start from 0  y  The x coordinate of the cell. For example, when we want to update B4, it will call this function with y = 3 as we start from 0.
•  codeOfCell(x:y:) 

Get the code of a cell at a specific address

#### Declaration

Swift

func codeOfCell(x: Int, y: Int) -> String

#### Parameters

  x  The x coordinate of the cell. For example, when the parser sees B4, it will call this function with x = 1 as B is the second letter in the alphabet and we start from 0  y  The x coordinate of the cell. For example, when the parser sees B4, it will call this function with y = 3 as we start from 0.