Category "nsindexpath"

How to check if IndexPath is valid?

Prior to swift 3, i used to use for example: let path = self.tableView.indexPathForSelectedRow if (path != NSNotFound) { //do something } But now, since i u

What is use of '%s' in xpath

I have tried to know the reason in online but i didnt get it. I want to know the reason why '%s' used in xpath instead of giving text message I hope some one