Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class MyTableViewDelegateProxy: RxTableViewDelegateProxy {
- func tableView(tableView: UITableView, editActionsForRowAtIndexPath indexPath: NSIndexPath) -> [UITableViewRowAction]? {
- return []
- }
- }
- extension UITableView {
- override public func rx_createDelegateProxy() -> RxScrollViewDelegateProxy {
- return MyTableViewDelegateProxy(parentObject: self)
- }
- override public var rx_delegate: DelegateProxy {
- return MyTableViewDelegateProxy.proxyForObject(self)
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement