Skip to content

Releases: OkCupid/OKTableViewLiaison

Release 3.1.0

20 Sep 16:30
0e5a70c
Compare
Choose a tag to compare

Convert library to utilized Swift 4.2
Updated Travis CI environment to use Xcode 10, added iOS 12 simulator test build

Release 3.0.0

05 Sep 15:01
d3ad75e
Compare
Choose a tag to compare

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

Release 2.3.0

27 Aug 20:12
3ae935d
Compare
Choose a tag to compare

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.

Release 2.2.0

17 Aug 19:00
2e682d7
Compare
Choose a tag to compare

CHANGELOG:

OKTableViewRegistrationType has been updated to OKTableViewRegistrationType<T: UIView> to simplify default registration cases.

public static func defaultClassRegistration<T: UIView>(for view: T.Type) -> OKTableViewRegistrationType
changed to
public static var defaultClassType: OKTableViewRegistrationType

public static func defaultNibRegistration<T: UIView>(for view: T.Type) -> OKTableViewRegistrationType
changed to
public static var defaultNibType: OKTableViewRegistrationType

Unit Tests Updated
README Updated

Release 2.1.3

19 Jun 15:40
6f6dac5
Compare
Choose a tag to compare

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

Release 2.1.2

12 Jun 18:33
d710449
Compare
Choose a tag to compare

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

Release 2.1.1

11 Jun 18:47
c43dbde
Compare
Choose a tag to compare

Small internal name changes
Updates to Example

Release 2.1.0

05 Jun 18:04
Compare
Choose a tag to compare

Minor API changes to OKTableViewRow and OKTableViewSectionComponent
Renamed detachTableView to detach for OKTableViewLiaison

Release 2.0.0

31 May 20:51
f8b53a5
Compare
Choose a tag to compare

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.

Release 1.4.0

24 May 17:48
ae3ccf7
Compare
Choose a tag to compare

Implement UITableViewDataSourcePrefetching support for OKTableViewRows
Refactor OKTableViewRow cell registration to fix bug during pagination
Genereal gardening & refactoring
Unit Tests