All Versions
33
Latest Version
Avg Release Cycle
44 days
Latest Release
1669 days ago

Changelog History
Page 3

  • v1.9.0 Changes

    โž• Added

    • โž• Added highlighted background color for action button. (#52)

    ๐Ÿ›  Fixed

    • ๐Ÿ‘ Correctly setting the parents project to support iOS 9.0+. (#40)
    • ๐Ÿ›  Fix issue where using non-SwipeTableViewCell within a UITableView interfered with didSelectRowAtIndexPath. This was caused by the assumption all cells in a UITableView extend SwipeTableViewCell. (#37) (#43)
    • โž• Add protection against superview in point(inside:) being nil and crashing. (#46)

  • v1.8.0 Changes

    โž• Added

    • ๐Ÿ†• New targetOverscrollElasticity property in SwipeExpansionStyle to support customization of elasticity when dragging past the expansion target. (#30)
    • ๐Ÿ†• New swipeOffset property and setSwipeOffset(_:animated:completion:) in SwipeTableViewCell to support programmatically setting the swipe offset. (#19)
    • โž• Add support for relayout of action buttons if cell frame changes while swiped (ie. rotation/tableview resizing). Now that active/swiped SwipeTableViewCells no longer reset to center when the parent UITableView performs layout (#28), better support for UITableView frame/bounds changes are required. The UITableView frame/bounds may change during rotation or whenever its parent view frame changes. The SwipeActionsView was already using auto layout to resize appropriately, but its button (and wrapper) subviews were using constraints derived from the default autoresizingMask. This change ensures the SwipeActionButtonWrapperView flexes with its parent SwipeActionsView, and button subviews pin to the appropriate left/right side of their wrapper view depending on orientation.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix issue where mask was not removed when using .reset style action fulfillment. (#27)
    • ๐Ÿ›  Fix to adjust the cell's new frame origin x value when it's already active. This ensures a swiped cell is not reset to center whenever the UITableView performs layout on it's cell subviews.

  • v1.7.0 Changes

    โž• Added

    • ๐Ÿ‘Œ Support for iOS 9. Thanks to @DMCApps!
    • ๐Ÿ‘‰ Showcase link in the README to track apps using the framework. Please submit a pull request to add your app!

    โšก๏ธ Updated

    • The Advanced Customization section in the README and moved it to a separate file.
    • The Requirements section in the README to reflect iOS 9 support.

  • v1.6.1 Changes

    ๐Ÿ›  Fixed

    • ๐Ÿ’… Issue where transitions are messed up when expansionStyle is set to nil.

  • v1.6.0 Changes

    โž• Added

    • ๐Ÿ“š Fully customizable expansion styles. See README documentation for more details. (#14)
    • SwipeTableViewDelegate delegate methods for willBeginEditingRowAt and didEndEditingRowAt. (#18)

    ๐Ÿ›  Fixed

    • โœ‚ Removed action view cleanup when cell moved moved off UIWindow. Initially, this was added to prevent retain cycles caused by SwipeAction handlers capturing self. Instead, it should be left up to the implementor to use [weak self] in handler implementations or ensure the action view is hidden before dismissing/popping a temporary parent view controller. I've verified this behaves the same way as UITableViewRowAction. (#23)
    • Issue where the table view pan gesture was being disabled along with all other table view gestures when a cell was swiped. (#21)

  • v1.5.0 Changes

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Issue where the destructive action animation relied on the table view to animate covering the deleted cell with the cells below it in order for its height to appear to shrink. If the cell being deleted was the last row, or the remaining cells below were not tall enough, the height of the deleted cell would not appear to shrink. Fixed by adding a mask to cell and animate its height to zero. (#15)
    • ๐Ÿšš Missing call to super.didMoveToSuperview causing accessory taps to be ignored. (#16)
    • The previous action button textColor fix to re-add also setting the tint color to the text color. The tint color effects button images rendered as template images.

    โž• Added

    • Ability to programmatically show swipe actions. (#13)
    • ๐Ÿ‘Œ Support for action background effect. (#10)

  • v1.4.0 Changes

    ๐Ÿ›  Fixed

    • ๐Ÿ’… The expansion threshold for selection-style was always 50% of the screen width regardless of if the action view width was larger.
    • Issue where the textColor property in SwipeAction was not being applied.

    โž• Added

    • ๐Ÿ‘ Accessibility support. (#5)
    • ๐Ÿ†• New expansionDelegate property in SwipeTableOptions providing ability to customize expansion behavior. See the README and API documentation for more details.
    • ๐Ÿ†• New transitionDelegate property in SwipeAction providing ability to customize transition behavior of individual actions as the swipe gesture is performed. See the README and API documentation for more details. (#9)
    • Example app now lets you choose circular button style to demo the new transitionDelegate and expansionDelegate.

    โšก๏ธ Updated

    • Internal SwipeActionButton layout to separate the background color from the actual UIButton

  • v1.3.0 Changes

    ๐Ÿ›  Fixed

    • Active animations were not always stopped when a new pan gesture began.
    • Images are not aligned properly on buttons without a title. (#6)

    โž• Added

    • ๐Ÿ†• New options in SwipeTableOptions to for more layout customization. (#7)
    • Example app now lets you choose between buttons with title + image, title only, and image only

  • v1.2.1 Changes

    ๐Ÿ›  Fixed

    • Call reset at the end of a destructive swipe to ensure the tableView gestures are re-enabled (#3).
    • Feedback was not being generated when swiping from non-centered state
    • SwipeTableViewCellDelegate compiler error in README example.

  • v1.2.0 Changes

    ๐Ÿ’ฅ Breaking

    • โšก๏ธ Update SwipeTableViewCellDelegate allowing editActionsForRowAt to return nil and prevent swiping in the supplied orientation (#2).

    โž• Added

    • Example app now lets you choose to disable swiping right.
    • ๐Ÿ”ฆ Expose hideSwipe(animated:) to allow the cell to be programmatically hidden.