UITableView Tutorial : Creating a simple app in swift

This article has been updated for Swift 3

One of the most versatile UI elements which you come across in iOS development is UITableView.With a combination of custom cell and animation its possibilities are endless.From fancy menu to image scroll you must have found it at many places. In fact UITableView is so versatile that you can truly divide UI in two parts those which can be made using UITableView and those which cannot.I must admit in one of my lazy spur i rotated UITableView using CGAffineTransform to implement horizontal scroll.

Read more

Dynamic height UITableViewCell using Auto layouts

How to create dynamic height tableview cell has been a very daunting task especially when you have to calculate and return variable row height in [code]- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath;[/code] But with autolayouts its very simple.you just have to make sure that the constraints of the tableview cell subviews are added in such a way … Read more