Coder Social home page Coder Social logo

menuchoice's Introduction

MenuChoice

高仿外卖app的点餐页(swift)
本demo中没有加上数据库操作,所以在cell重用的时候会有bug,实际项目应按需求对数据库进行操作

1.将GroupTableView.swift,PrdouctMenuTableViewCell.swift导入到项目中即可

2.调用

init(frame:CGRect,MenuTypeArr:[String],proNameArr:[AnyObject])

初始化

添加按钮的动画效果,修改第三,四个参数可改变抛物线弧度

CGPathAddQuadCurveToPoint(path, nil, 100, circleView.layer.position.y+50, 30, screenHeight-30)

demo中的类别cell没有自定义,如果需求可自定义cell

如果本demo对您有帮助,欢迎star
如果本demo对您有帮助,欢迎star
如果本demo对您有帮助,欢迎star

如果您发现了bug,希望你能Issues我
如果您发现了bug,希望你能Issues我
如果您发现了bug,希望你能Issues我

menuchoice's People

Contributors

judy9452 avatar

Stargazers

我就叫土豆 avatar  avatar badboy-tian avatar 令狐灵犀 avatar  avatar  avatar Gu avatar

Watchers

James Cloos avatar  avatar

menuchoice's Issues

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.