Skip to content

Instantly share code, notes, and snippets.

View jonyheim's full-sized avatar

Jonathan Brodheim jonyheim

View GitHub Profile
@jonyheim
jonyheim / ViewController.swift
Last active August 20, 2017 18:43
How to automagically generate your Table View rows
class ViewController: UIViewController {
let increment = 5
let maxPercentage = 100
}
extension ViewController: UITableViewDataSource {
// First, we can use this to calculate the number of rows in the Table View.