Skip to content
This repository has been archived by the owner on Nov 5, 2020. It is now read-only.

Releases: okhanokbay/ExpyTableView

Necessary changes

08 Mar 05:05
37c4969
Compare
Choose a tag to compare

BREAKING CHANGES:

  • Removing unnecessary "expandableSection" array and its use cases
  • Clean up the code, rename some delegate methods:
    • OLD func expandableCell(forSection section: Int, inTableView tableView: ExpyTableView) -> UITableViewCell

    • OLD func canExpand(section: Int, inTableView tableView: ExpyTableView) -> Bool

    • NEW func tableView(tableView: ExpyTableView, expandableCellForSection section: Int) -> UITableViewCell

    • NEW func tableView(_ tableView: ExpyTableView, canExpandSection section: Int) -> Bool

see commit "134e83f" for more details.

ADDITIONS:

  • Support Swift 4.0 #15

  • Completes #21 and adds abstractions to ExpyTableView class

  • Add explanations for #12

Improving method calls

22 Jun 18:39
Compare
Choose a tag to compare
0.3.1

Merge remote-tracking branch 'origin/master'

Delegate method additions, private method expositions

22 Jun 17:55
Compare
Choose a tag to compare
  • Delegate methods are unified now. It returns ExpyState instead of ExpyActionType.
  • ExpyTableViewHeaderCell protocol is added. If a cell conforms to it, it gets state change updates in the changeState method.
  • Method named getActionType is removed.
  • ExpyState with didExpand and didColapse works more accurate now.(They were being called before the animation completely finished.)
  • First cell which is used to generate an expandable header is not being reloaded anymore during the expanding or collapsing animation. Because, this was preventing implementation of independent animations in it. (For example rotating the arrow in header cell.)
  • When an expandable cell tapped, its userInteractionEnabled parameter becomes false until the animation is completed.
  • Adding cellReuseStatus to changeState method of ExpyTableViewHeaderCell
  • Exposing (expand: section) and (collapse: section) methods.