Skip to content

Abizern/PartialTable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Partial Table

Description

An example iOS project to show how to load a subset of data in a table view with a "Display More** button loads more data into the table.

This is meant to be very simple. A concrete example of the concept.

Updated for SwiftUI

There are tags for the Objective-C, and Swift versions. See the Requirements section for details

Currently, this is achieved by having a single cell in a second section and loading more data from there.

Acknowledgements

  • Daniel Thorpe for building on my idea.
  • Pete Callaway for gentle nudging.
  • The usual Twitter mob for looking at this.

Requirements

7.0: Swift 5.1 and SwiftUI

  • iOS 13
  • Xcode 11+

This uses SwiftUI for the interface. To see live previews in Xcode you need to be running macOS Catalina.

6.0: Swift 5.0

  • iOS 12
  • Xcode 10.2

5.0: Swift 4.2

  • iOS 12
  • Xcode 10

4.1: Swift 4.0

  • iOS 11
  • Xcode 9

This uses the new iOS 11 UITableViewMethod performBatchUpdates to update the tableview.

4.0: Swift 4.0

  • iOS 10
  • Xcode 9

This rewrites in this version are more than just updating to the new Swift version, but also because I'm a better developer now than I was when I started this project and I do things a little differently now.

3.0: Swift 3.0

  • iOS 10+
  • Xcode 8

Swift 2.2

  • iOS 9.0+
  • Xcode 7.3

Swift 2

  • iOS 9.0+
  • Xcode 7.0

Swift and Objective-C

  • iOS 8.1+
  • Xcode 6.3

About

An example iOS project to show how to load a subset of data in a table view with a "Display More" button as the last cell which loads more data into the table.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages