SlidingTableViewControllerCell
open class SlidingTableViewControllerCell<T> : UITableViewCell
Undocumented
-
Set UIAttributes for DrawerView, establish gesture recognizers, and add the user defined overlay to the drawer.
Declaration
Swift
open func setCellWith(overlayParameters: T, drawerViewOptions: DrawerViewOptionsType, overlayView overlay: EVOverlayView<T>)
Parameters
overlayParameters
Generic type that is passed to the user defined overlay upon setup. Users should store any parameters they need to set the UI of their overlay and then access them inside the setupUI() method of their overlay.
drawerViewOptions
List of DrawerViewOption’s which apply to the cell being set up. These parameters are used to load the layout of the DrawerView options.
overlayView
User defined overlay for the cell, of type EVOverlayView which extends UIView
-
Removes overlay from the superview including gestures
Declaration
Swift
open func clear()
-
Sets overlay to original center position, fully covering the drawer view.
Declaration
Swift
open func resetOverlay(animated: Bool = false)
Parameters
animated
decide if you want the overlay to animate back into position or just appear back on top
-
Removes gestures from the view
Declaration
Swift
open func removeGestures()
-
Set gesture recognizer to only pick up on horizontal swipes and allow for normal vertical scrolling of the UITableView
Declaration
Swift
override open func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool
-
Undocumented
Declaration
Swift
public static var reuseIdentifier: String { get }