Skip to content

Instantly share code, notes, and snippets.

@naoty
naoty / Playground.swift
Last active April 6, 2018 23:42
A playground to display a table view controller on a navigation controller
import XCPlayground
import UIKit
struct Pokemon {
let id: UInt
let name: String
}
class PokedexViewController: UITableViewController {
let pokemons: [Pokemon] = [