Changelog History
-
v3.1.0 Changes
September 20, 2018Convert library to utilized Swift 4.2
โก๏ธ Updated Travis CI environment to use Xcode 10, added iOS 12 simulator test build -
v3.0.0 Changes
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 reuseIdentifierOKTableViewLiaison:
โ 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 UITableViewRowAnimationOKTableViewLiaison+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 & OKAnyTableViewSectionComponentOKTableViewLiaisonPaginationDelegate:
Now conforms to AnyObject instead of class -
v2.3.0 Changes
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 defaultanimated
parameter.OKTableViewSection changes:
public let componentDisplayOption: OKTableViewSectionComponentDisplayOption
, was private.OKTableViewSectionComponentDisplayOption changes:
public var header: OKAnyTableViewSectionComponent?
&public var footer: OKAnyTableViewSectionComponent?
, were internal. -
v2.2.0 Changes
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 Changes
June 19, 2018๐ Hotfix to prevent iOS 9 & 10 crashes when calculating section header/footer heights that are less than zero
-
v2.1.2 Changes
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 Changes
June 11, 2018Small internal name changes
โก๏ธ Updates to Example -
v2.1.0 Changes
June 05, 2018Minor API changes to OKTableViewRow and OKTableViewSectionComponent
๐ Renamed detachTableView to detach for OKTableViewLiaison -
v2.0.0 Changes
May 31, 2018โก๏ธ First MAJOR update to the OKTableViewLiaison!
๐ CHANGE LOG:OKTableViewSection<Header: UITableViewHeaderFooterView, Footer: UITableViewHeaderFooterView, Model>
has changed to simplyOKTableViewSection
.OKTableViewSectionSupplementaryViewDisplayOption
has changed toOKTableViewSectionComponentDisplayOption
, and now holdsOKTableViewSectionComponent<View: UITableViewHeaderFooterView, Model>
as associated values.๐ง
OKTableViewSectionComponent<View: UITableViewHeaderFooterView, Model>
, is similar toOKTableViewRow<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 newinsert(sections: [OKTableViewSection], startingAt index: Int)
function. -
v1.4.0 Changes
May 24, 2018๐ Implement UITableViewDataSourcePrefetching support for OKTableViewRows
๐จ Refactor OKTableViewRow cell registration to fix bug during pagination
๐จ Genereal gardening & refactoring
โ Unit Tests