Get the last row in a section iOS swift

 Solution:

How to get the last row in one section.You can change only the last index except other indexes in the table.

            let lastRowIndex = tableView.numberOfRows(inSection: indexPath.section) - 1


Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Convert NsNumber, NSDate to String in iOS Swift

Global LocationManager Singleton class iOS Swift