Posted on April 17, 2019
by Steven Lipton
Leave a Comment
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… Continue Reading “Actions in Table Views”
Category: GUI, iOS Development Weekly Tips, ios12, LinkedIn Learning / Lynda.com, Swift, Swift 4.0, Swift Programming, TutorialTags: actions, drag, ios, swipe, swipe actions, tableview, UITableView
Posted on November 7, 2018
by Steven Lipton
Leave a Comment
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… Continue Reading “Embed Table Views”
Category: iOS Development Weekly Tips, ios12, Swift Programming, TutorialTags: Container View, ContainerView, embed, Embedded Table View, ios, iPad, iphone, tables, UIContainverView, UITableView, UIView
Posted on October 3, 2016
by Steven Lipton
1 Comment
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… Continue Reading “Introducing Table Views in Swift 3”
Posted on December 4, 2015
by Steven Lipton
Leave a Comment
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… Continue Reading “How to Use Custom Table Cells in a UITableView”
Category: GUI, iOS9, Swift, Swift Programming, Swift Swift, TutorialTags: cell, cell height, cell style, cellforrowatIndexpath, Custom table cells, estimatedHeightForRowAtIndexPath, row, row height, stack view, stack views, table cells, UITableView, UITableViewCell, UITableViewController
Posted on February 17, 2015
by Steven Lipton
37 Comments
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… Continue Reading “Create Dynamic and Static Table Views in Swift 3”
Category: iOS10, ios8, Swift, Swift 3.0, Swift Swift, TutorialTags: cellforrowatIndexpath, didSelectRowAtIndexPath, dynamic table view, select row in table, statc table view, swift, Table view, Table view controller, UITableView, UITableViewController
Posted on July 12, 2014
by Steven Lipton
35 Comments
[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… Continue Reading “The Swift Swift Tutorial: How to Use UITableView in Swift”
Category: ios7, ios8, Swift Programming, Swift SwiftTags: Apple swift, computed properties, computed property, delegates, Optional chaining, segues, swift and IB, Table view, UITableView