Based on My array size i want to hide and show my TableView iOS swift

Solution:

Here we had the single line of code that will show and hide your tableview based on the size of array.

        Tbl.isHidden = myList.count>0 ? false : true

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