Skip to content

Commit

Permalink
Separation of the public interface methods
Browse files Browse the repository at this point in the history
  • Loading branch information
moritzsternemann committed Jun 29, 2017
1 parent 0fb1332 commit 2b5b272
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/SwipyCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ open class SwipyCell: UITableViewCell, SwipyCellTriggerPointEditable {
addSubview(contentScreenshotView!)
}

// MARK: - Public Interface

public func addSwipeTrigger(forState state: SwipyCellState, withMode mode: SwipyCellMode, swipeView view: UIView, swipeColor color: UIColor, completion block: SwipyCellTriggerBlock?) {
triggers[state] = SwipyCellTrigger(mode: mode, color: color, view: view, block: block)
}
Expand Down

0 comments on commit 2b5b272

Please sign in to comment.