Code Monkey home page Code Monkey logo

DG's Projects

swift icon swift

The Swift Programming Language

swift-sorted icon swift-sorted

探究排序算法的工作原理是非常有趣的,但在实际的编码中,你几乎永远也不会需要自己编写排序算法,Swift 自带的 sort() 函数已经非常够用了,但如果你还是好奇背后的原理,请继续阅读。 基本的排序算法: *插入排序 *选择排序 *希尔排序 快速的排序算法: *快速排序 *归并排序 *堆排序 特殊的排序算法 *桶排序 🚧 *计数排序 基数排序 *拓扑排序 不好的排序算法(知道就行了,不要用!): *冒泡排序 压缩算法 *变动长度编码法(RLE)。将重复的值存储为一个单字节及其计数。 *哈夫曼编码。将常见的元素使用更小的单位存储。

swiftnewproject icon swiftnewproject

使用Swift 搭建一个新的项目架构,项目内使用了 Cocopods 来管理项目的第三方,如Alamofire,Kingfisher,SnapKit,HandyJSON,给大家参考一下,以及 OC 与 swift 之间的调用

textplayer icon textplayer

TextPlayer iOS文字转语音播放器 主要使用了AVFoundation/AVFoundation 系统库来实现语音播报 AVSpeechSynthesizer 这个类可以用来播放一个或者多个语音内容,播放的语音内容都是通过实例化AVSpeechUtterance而得到,对于一个或者多个AVSpeechUtterance实例, AVSpeechSynthesizer对象起到队列的作用,提供了API可以控制和监视正在进行的语音播放

uibutton-hitrect icon uibutton-hitrect

使用 runtime 为 UIButton 分类修改响应位置 使得点击范围扩大

uitableviewcellshow icon uitableviewcellshow

埋点曝光Cell的一个需求, 需要用户浏览列表的 cell,判断是被用户浏览的,还是直接快速划出去的, 达到一定时间-> 曝光,达不到一定时间的就是快速浏览不需要曝光

uiview-tap-runtime icon uiview-tap-runtime

使用 runtime 为 UIView 添加一个点击手势,使得所有的继承 UIView 的控件轻松添加点击效果

vcomponents icon vcomponents

VComponents is a SwiftUI package that contains 30+ customizable UI components

wechat icon wechat

抖音上最近特火的, 码农撩妹小程序版本.....最近刚刚学写小程序,请多多指教啊

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.