Two new codesnippet

Added a Code snippet to tableview delegate and to the shareInstance