Code Monkey home page Code Monkey logo

toolsummary's Introduction

ToolSummary

一些常用的代码合集库

🐦 ZPHGCDTimer

一个 dispatch source 的定时器

🙇 StringExtension

String扩展

  • 时间戳转字符串格式
  • 添加时间格式 example: 今天10:00, 昨天11:00

🙋 ZPHFileManager

文件操作类

🤵 DateExtension

  • 时间格式化的扩展;
  • 时间的偏移函数func offset(unit: String = "dd", offset: Int) -> Date,默认偏移时间单位是天,正数向未来偏移,负数向过去偏移;

🤭 IntExtension

  • int转时间格式

😁 FloatExtension

  • float转int的四舍五入

🦌 ArrayExtension

  • 数组,字典转JSON字符串

⌚️ PHextension

添加了PH的protocol;

  • 给String和Int添加一个中间是密文的11位手机号的计算属性

toolsummary's People

Contributors

semperhhh 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.