[翻译] BFKit
BFKit


BFKit is a collection of useful classes to develop Apps faster.
BFKit是一个有用的工具集合,帮助你快速开发。
Installing and Usage
Pod
Pod安装
- Create a Podfile in your project directory
- Write:
platform :ios, '7.0'
xcodeproj 'Project.xcodeproj'
pod 'BFKit'
- Obviously change "Project" with your real project name
- Open Terminal, go to project directory and type:
pod install
- Import the file "BFKit.h"
- Enjoy!
Manual
手动安装
- Copy the library folder (BFKit) to the project 将文件夹拖拽到你的项目当中
- Add the following frameworks to the project:Import the file "BFKit.h" 导入头文件BFKit.h
- UIKit
- Foundation
- CoreImage
- CoreGraphics
- QuartzCore
- Accelerate
- AudioToolbox
- LocalAuthentication (if you want to use BFTouchID class, and set it as weak if your App runs on iOS 7)
- Enjoy!
Requirements
- iOS SDK 7.0 or later
- ARC
Language support
English(en), Italian(it), Russian(ru), Ukrainian(uk), Indonesian(id), Chinese Simplified(zh)
What does it do?
Adds some useful method to some classes.
添加了很多实用的类:
Foundation:
- NSArray
- NSDate
- NSFileManager
- NSMutableArray
- NSMutableDictionary
- NSNumber
- NSObject
- NSProcessInfo
- NSString
- NSThread
UIKit:
- UIButton
- UIColor
- UIDevice
- UIFont
- UIImage
- UIImageView
- UILabel
- UIScrollView
- UITableView
- UITextField
- UITextView
- UIView
- UIWebView
- UIWindow
BFKit:
- BFApp
- BFLog
- BFPassword
- BFSystemSound
- BFTouchID (iOS 8)
Documentation
CocoaDocs
Changelog
To see what has changed in recent version of BFKit, see the CHANGELOG
你可以在修改日志中查看最新修改过的内容,可以看看CHANGELOG。
Todo
- Create instance methods for UIKit categories 给UIKit的category添加单例方法
- Create a category for every UIKit element 给每一个UIKit控件添加category
- Add missing font (iOS 8) 添加iOS8中新加的字体
- Add missing system sound ids 添加遗漏的系统提示音
Author
Fabrizio Brancati
License
BFKit is available under the MIT license. See the LICENSE file for more info.
Contributing
I'd love to see your ideas for improving this library.
The best way to contribute is by submitting a pull request. I'll do my best to respond to you as soon as possible.
You can also submit a new Github issue if you find bugs or have questions.
Please make sure to follow my general coding style for new features!
[翻译] BFKit的更多相关文章
- 《Django By Example》第五章 中文 翻译 (个人学习,渣翻)
书籍出处:https://www.packtpub.com/web-development/django-example 原作者:Antonio Melé (译者@ucag注:大家好,我是新来的翻译, ...
- 《Django By Example》第四章 中文 翻译 (个人学习,渣翻)
书籍出处:https://www.packtpub.com/web-development/django-example 原作者:Antonio Melé (译者注:祝大家新年快乐,这次带来<D ...
- [翻译]开发文档:android Bitmap的高效使用
内容概述 本文内容来自开发文档"Traning > Displaying Bitmaps Efficiently",包括大尺寸Bitmap的高效加载,图片的异步加载和数据缓存 ...
- 【探索】机器指令翻译成 JavaScript
前言 前些时候研究脚本混淆时,打算先学一些「程序流程」相关的概念.为了不因太枯燥而放弃,决定想一个有趣的案例,可以边探索边学. 于是想了一个话题:尝试将机器指令 1:1 翻译 成 JavaScript ...
- 《Django By Example》第三章 中文 翻译 (个人学习,渣翻)
书籍出处:https://www.packtpub.com/web-development/django-example 原作者:Antonio Melé (译者注:第三章滚烫出炉,大家请不要吐槽文中 ...
- 《Django By Example》第二章 中文 翻译 (个人学习,渣翻)
书籍出处:https://www.packtpub.com/web-development/django-example 原作者:Antonio Melé (译者注:翻译完第一章后,发现翻译第二章的速 ...
- 《Django By Example》第一章 中文 翻译 (个人学习,渣翻)
书籍出处:https://www.packtpub.com/web-development/django-example 原作者:Antonio Melé (译者注:本人目前在杭州某家互联网公司工作, ...
- 【翻译】Awesome R资源大全中文版来了,全球最火的R工具包一网打尽,超过300+工具,还在等什么?
0.前言 虽然很早就知道R被微软收购,也很早知道R在统计分析处理方面很强大,开始一直没有行动过...直到 直到12月初在微软技术大会,看到我软的工程师演示R的使用,我就震惊了,然后最近在网上到处了解和 ...
- ASP.NET MVC with Entity Framework and CSS一书翻译系列文章之第一章:创建基本的MVC Web站点
在这一章中,我们将学习如何使用基架快速搭建和运行一个简单的Microsoft ASP.NET MVC Web站点.在我们马上投入学习和编码之前,我们首先了解一些有关ASP.NET MVC和Entity ...
随机推荐
- UBUNTU 无法解析域名 解决方法
莫名其妙的,ubuntu 无法访问外网. ping www.taobao.com www.baidu.com 提示无效的主机名 但是ping 外网ip 都是可以PING通的. 所以断定是 dns问题 ...
- JVM虚拟机指令
参考及转载: (1)https://blog.csdn.net/qq_33301113/article/details/73717855 (2)https://blog.csdn.net/wangxf ...
- bind(0)
通配地址就是全0的地址,由内核随机选取
- PTA (Advanced Level) 1023 Have Fun with Numbers
Have Fun with Numbers Notice that the number 123456789 is a 9-digit number consisting exactly the nu ...
- golang实现kafka的消息推送
Kafka的安装与启动 kafka中涉及的名词 消息记录:由一个key,一个value和一个时间戳构成,消息最终存储在主题下的分区中,记录在生产中称为生产者记录,在消费者中称为消费记录.Kafka集群 ...
- vue中添加Echarts图表的使用,Echarts的学习笔记
项目中需要使用一些折线图.柱状图.饼状图等等,之前使用过heightCharts(关于heightCharts请看我的另一篇 http://www.cnblogs.com/jasonwang2y60/ ...
- Jquery Ajax 复杂json对象提交到WebService
在ajax的已不请求中,常常返回json对象.可以利用json.net给我们提供的api达到快速开发. 例子: using System;using System.Collections;using ...
- 如鹏网学习笔记(十一)JQuery
一.jQuery简介 jQuery是一个JavaScript库,特性丰富,包含若干对象和很多函数,可以替代传统DOM编程的操作方式和操作风格 jQuery通过对DOM API.DOM事件的封装,提供了 ...
- JS实现最小生成树之普里姆(Prim)算法
最小生成树: 我们把构造连通网的最小代价生成树称为最小生成树.经典的算法有两种,普利姆算法和克鲁斯卡尔算法. 普里姆算法打印最小生成树: 先选择一个点,把该顶点的边加入数组,再按照权值最小的原则选边, ...
- git merge后,后悔了如何回退
今天将feature分支的代码merge到develop分支后我后悔了,因为feature分支的功能还没有全部开发完成,我在feature分支上commit是可以的,但是这之后我又把它merge到了d ...