Releases: OkCupid/OKTableViewLiaison
Release 3.1.0
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
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
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
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
Hotfix to prevent iOS 9 & 10 crashes when calculating section header/footer heights that are less than zero
Release 2.1.2
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
Small internal name changes
Updates to Example
Release 2.1.0
Minor API changes to OKTableViewRow and OKTableViewSectionComponent
Renamed detachTableView to detach for OKTableViewLiaison
Release 2.0.0
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
Implement UITableViewDataSourcePrefetching support for OKTableViewRows
Refactor OKTableViewRow cell registration to fix bug during pagination
Genereal gardening & refactoring
Unit Tests