Skip to content

TableNodeDelegate

Ramón Dias edited this page Mar 26, 2020 · 2 revisions

TableNodeDelegate

Methods

set view

func tableNode(_ tableNode: TableNode, set view: SKView)

This function defines a view for your TableNode. If you need to change the view that you TableNode is using, change through here.


didSelectCell

func tableNode(_ tableNode: TableNode, didSelectCell: TableNodeCell, at: IndexPath)

This function defines what will happen with your cell when is selected. Here you can define what action can be done with that cell.

Clone this wiki locally