This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// need to define these inits so you can instantiate a dummy object in code (and coder init is required as well) | |
class ArrayTableViewController<T>: UITableViewController { | |
init() { super.init(style: .Plain) } | |
required init?(coder aDecoder: NSCoder) { super.init(coder:aDecoder) } | |
class OffersTableViewController: ArrayTableViewController<Offer> { | |
required init?(coder aDecoder: NSCoder) { super.init(coder:aDecoder) } | |
override init() { super.init() } | |
// then instantiate a dummy object |