Code Monkey home page Code Monkey logo

alwaystry's Projects

yzgtagview icon yzgtagview

开发中,经常遇到标签选择的需求(参考淘宝的历史搜索功能),然而造重复的轮子,毕竟不是高明的事情。在此我已经封装好一套tagView,供君使用。 可定制如下功能: 1:单选or多选。 2:背景颜色。 3:普通状态下的边框字体颜色。 4:选中状态下的边框字体颜色。 5:选中或取消选中的回调。 6:UI重置。 欢迎大家使用,如果您也觉得不错,请帮我点亮一颗星星,谢谢star。

yzgtimerdemo icon yzgtimerdemo

在iOS开发中,涉及到计时器时,大部分人会想到NSTimer与CADisplayLink,但这两种技术都有弊端:1:内存泄露。 2:定时不精确。 在此,我推荐大家使用GCD技术去做定时任务, GCD技术基于iOS内核开发,不存在内存泄漏与定时不精确的弊端。 我已经封装好了一个计时器,可以指定队列、设置开始时间、重复间隔,以及取消任务来满足日常使用。 如果您觉得还不错,请点亮一颗星星,谢谢。 也欢迎留下宝贵意见。

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.