Tag: UITableView

Actions in Table Views

Sometimes table views could use a few buttons. There’s two delegates which create swipe buttons on table view cells. Let’s learn how you can implement these buttons and an interesting hidden feature you can do with them.  There is two delegate methods, one for…

Embed Table Views

Here’s an app I started from the downloaded example file. It is a restaurant check with a total, but I have to press the Order button to see the details in a table view on the next view controller. That button is a waste…

Introducing Table Views in Swift 3

Table views on any mobile platform are the workhorse of any application. To be a good developer you need  to make table views easily. Tables in iOS  use the UITableView class to do so. This is a very powerful class with many features to…

How to Use Custom Table Cells in a UITableView

While very versatile, there’s some point where every developer finds table views lacking something: the cell format is too limited.  Apps like Facebook, Twitter, and Instagram don’t use simple table views. They use  custom table cell formats.  In this lesson, we’ll start learning how…

Create Dynamic and Static Table Views in Swift 3

In an early post on this site, I wrote a table view tutorial. I decided to update that tutorial a bit for The Swift Swift View Controllers Book and add a bit more sophistication and depth. This tutorial deep dives in the subject. Both will…

The Swift Swift Tutorial: How to Use UITableView in Swift

[Converted to to Swift 2.0/iOS9 9/28/15 SJL] The workhorse control in iOS is the table view. With both a delegate and data source it is powerful, flexible and can get a bit complicated. In this lesson, we will add a table view controller between…