didSelectRowAtIndexPath Not working

Can someone please tell me why the DidSelectRowAtIndexPath and didDeselectRowAtIndexPath

Can someone please tell me why it is not being detected

Both didSelectRowAtIndexPath and didDeselectRowAtIndexPath belong to the UITableViewDelegate protocol. For that protocol to work, the delegate of the table view needs to be connected to your view controller.

Currently you are setting the data source of the table view in viewDIdLoad. The delegate needs to be set as well. Both of those connections can be made in Interface Builder if you want.

Have fun!

OH MAN, I always did this, but for some reason I forgot to do it. thank you for my silly mistake