Coder Social home page Coder Social logo

drcellleftswipe's Introduction

DRCellLeftSwipe

iOS 左滑删除(多按钮 自定义实现+原生实现) 禁用用力左滑自动删除

对于自定义左滑而言,是需要设置代理的,这里点要稍加注意:

对于低版本系统而言,如果不设置代理,则无法执行侧滑逻辑,

对于高版本而言,设置代理后,就不会会进入iOS11对应的代理,

因此自定义cell的 控制器里的 delegate 设置需要根据系统版本进行控制。

demo里也用原生的方法实现了左滑编辑,也很简单哦~

 如果喜欢,请简书点击喜欢,如果觉着demo有用,欢迎star哦~ 博文地址:https://www.jianshu.com/p/0de0fc8d36a5

drcellleftswipe's People

Contributors

daruo avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.