All Versions
10
Latest Version
Avg Release Cycle
13 days
Latest Release
557 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

    🔄 CHANGELOG:

    🚀 SECOND MAJOR RELEASE

    OKTableViewSection:
    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.

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

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

    OKTableViewLiaison+Pagination:
    👍 func endPagination(rows: [OKAnyTableViewRow]) and func endPagination(sections: [OKTableViewSection]) now support UITableViewRowAnimation

    OKTableViewLiaison+Registration:
    🚚 UITableViewCell & UITableViewHeaderFooterView registration has been moved off the OKTableViewSection and onto the OKTableViewLiaison itself.

    OKTableViewContent:
    🆕 New protocol to encapsulate height, estimatedHeight, reuseIdentifier, and func register(with tableView: UITableView) for OKAnyTableViewRow & OKAnyTableViewSectionComponent

    OKTableViewLiaisonPaginationDelegate:
    Now conforms to AnyObject instead of class

  • v2.3.0

    August 27, 2018

    🔄 CHANGELOG:

    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

    🔄 CHANGELOG:

    ⚡️ 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