All Versions
Latest Version
Avg Release Cycle
13 days
Latest Release
855 days ago

Changelog History

  • v3.1.0

    September 20, 2018

    Convert library to utilized Swift 4.2
    โšก๏ธ Updated Travis CI environment to use Xcode 10, added iOS 12 simulator test build

  • v3.0.0

    September 05, 2018



    OKTableViewSection is now a struct. Changes across the framework have been made to accomodate for this, particularly around Array access when manipulating rows within a section.

    Now wraps generic type T instead of T: UIView.
    Associated and computed identifier value/property renamed to reuseIdentifier

    โœ‚ Removed public func section(for index: Int) -> OKTableViewSection?, public func section(for indexPath: IndexPath) -> OKTableViewSection? and public func row(for indexPath: IndexPath) -> OKAnyTableViewRow?

    ๐Ÿ‘ func endPagination(rows: [OKAnyTableViewRow]) and func endPagination(sections: [OKTableViewSection]) now support UITableViewRowAnimation

    ๐Ÿšš UITableViewCell & UITableViewHeaderFooterView registration has been moved off the OKTableViewSection and onto the OKTableViewLiaison itself.

    ๐Ÿ†• New protocol to encapsulate height, estimatedHeight, reuseIdentifier, and func register(with tableView: UITableView) for OKAnyTableViewRow & OKAnyTableViewSectionComponent

    Now conforms to AnyObject instead of class

  • v2.3.0

    August 27, 2018


    OKTableViewLiaison new functionality:
    public func section(for index: Int) -> OKTableViewSection?
    public func swapSection(at source: Int, with destination: Int, animation: UITableViewRowAnimation = .automatic, animated: Bool = true)
    public func reloadRow(at indexPath: IndexPath, with animation: UITableViewRowAnimation = .automatic)

    OKTableViewLiaison changes:
    public func swapRow(at source: IndexPath, with destination: IndexPath, animation: UITableViewRowAnimation = .automatic, animated: Bool = true) argument names changed (from: to:) -> (at: with:)
    โšก๏ธ func performTableViewUpdates(animated: Bool, _ closure: () -> Void), no longer has default animated parameter.

    OKTableViewSection changes:
    public let componentDisplayOption: OKTableViewSectionComponentDisplayOption, was private.

    OKTableViewSectionComponentDisplayOption changes:
    public var header: OKAnyTableViewSectionComponent? & public var footer: OKAnyTableViewSectionComponent?, were internal.

  • v2.2.0

    August 17, 2018


    โšก๏ธ OKTableViewRegistrationType has been updated to OKTableViewRegistrationType<T: UIView> to simplify default registration cases.

    0๏ธโƒฃ public static func defaultClassRegistration<T: UIView>(for view: T.Type) -> OKTableViewRegistrationType
    ๐Ÿ”„ changed to
    0๏ธโƒฃ public static var defaultClassType: OKTableViewRegistrationType

    0๏ธโƒฃ public static func defaultNibRegistration<T: UIView>(for view: T.Type) -> OKTableViewRegistrationType
    ๐Ÿ”„ changed to
    0๏ธโƒฃ public static var defaultNibType: OKTableViewRegistrationType

    โšก๏ธ Unit Tests Updated
    โšก๏ธ README Updated

  • v2.1.3

    June 19, 2018

    ๐Ÿš‘ Hotfix to prevent iOS 9 & 10 crashes when calculating section header/footer heights that are less than zero

  • v2.1.2

    June 12, 2018

    ๐Ÿ›  Fix bug related to type registration not occurring for sections that were already appended to the liaison prior to liaise being called.
    โž• Added unit tests

  • v2.1.1

    June 11, 2018

    Small internal name changes
    โšก๏ธ Updates to Example

  • v2.1.0

    June 05, 2018

    Minor API changes to OKTableViewRow and OKTableViewSectionComponent
    ๐Ÿ“‡ Renamed detachTableView to detach for OKTableViewLiaison

  • v2.0.0

    May 31, 2018

    โšก๏ธ First MAJOR update to the OKTableViewLiaison!
    ๐Ÿ”„ CHANGE LOG:

    OKTableViewSection<Header: UITableViewHeaderFooterView, Footer: UITableViewHeaderFooterView, Model> has changed to simply OKTableViewSection.

    OKTableViewSectionSupplementaryViewDisplayOption has changed to OKTableViewSectionComponentDisplayOption, and now holds OKTableViewSectionComponent<View: UITableViewHeaderFooterView, Model> as associated values.

    ๐Ÿ”ง OKTableViewSectionComponent<View: UITableViewHeaderFooterView, Model>, is similar to OKTableViewRow<Cell: UITableViewCell, Model>. It's the type used to create/configure header/footer views for your sections.

    ๐Ÿ”ง Estimated Height configuration has been added for UITableViewHeaderFooterView.
    ๐Ÿšš OKPlainTableViewSection has been removed.

    OKTableViewLiaison implements a new insert(sections: [OKTableViewSection], startingAt index: Int) function.

  • v1.4.0

    May 24, 2018

    ๐Ÿ‘ Implement UITableViewDataSourcePrefetching support for OKTableViewRows
    โ™ป๏ธ Refactor OKTableViewRow cell registration to fix bug during pagination
    โ™ป๏ธ Genereal gardening & refactoring
    โœ… Unit Tests