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的更多相关文章

  1. 《Django By Example》第五章 中文 翻译 (个人学习,渣翻)

    书籍出处:https://www.packtpub.com/web-development/django-example 原作者:Antonio Melé (译者@ucag注:大家好,我是新来的翻译, ...

  2. 《Django By Example》第四章 中文 翻译 (个人学习,渣翻)

    书籍出处:https://www.packtpub.com/web-development/django-example 原作者:Antonio Melé (译者注:祝大家新年快乐,这次带来<D ...

  3. [翻译]开发文档:android Bitmap的高效使用

    内容概述 本文内容来自开发文档"Traning > Displaying Bitmaps Efficiently",包括大尺寸Bitmap的高效加载,图片的异步加载和数据缓存 ...

  4. 【探索】机器指令翻译成 JavaScript

    前言 前些时候研究脚本混淆时,打算先学一些「程序流程」相关的概念.为了不因太枯燥而放弃,决定想一个有趣的案例,可以边探索边学. 于是想了一个话题:尝试将机器指令 1:1 翻译 成 JavaScript ...

  5. 《Django By Example》第三章 中文 翻译 (个人学习,渣翻)

    书籍出处:https://www.packtpub.com/web-development/django-example 原作者:Antonio Melé (译者注:第三章滚烫出炉,大家请不要吐槽文中 ...

  6. 《Django By Example》第二章 中文 翻译 (个人学习,渣翻)

    书籍出处:https://www.packtpub.com/web-development/django-example 原作者:Antonio Melé (译者注:翻译完第一章后,发现翻译第二章的速 ...

  7. 《Django By Example》第一章 中文 翻译 (个人学习,渣翻)

    书籍出处:https://www.packtpub.com/web-development/django-example 原作者:Antonio Melé (译者注:本人目前在杭州某家互联网公司工作, ...

  8. 【翻译】Awesome R资源大全中文版来了,全球最火的R工具包一网打尽,超过300+工具,还在等什么?

    0.前言 虽然很早就知道R被微软收购,也很早知道R在统计分析处理方面很强大,开始一直没有行动过...直到 直到12月初在微软技术大会,看到我软的工程师演示R的使用,我就震惊了,然后最近在网上到处了解和 ...

  9. ASP.NET MVC with Entity Framework and CSS一书翻译系列文章之第一章:创建基本的MVC Web站点

    在这一章中,我们将学习如何使用基架快速搭建和运行一个简单的Microsoft ASP.NET MVC Web站点.在我们马上投入学习和编码之前,我们首先了解一些有关ASP.NET MVC和Entity ...

随机推荐

  1. sql中COUNT(*)、COUNT(字段名)的区别

    数据表:其中IT002的Fname是null. 执行sql: ) FROM T_Employee 结果: 结论:COUNT(*)统计的是结果集的总条数,而COUNT(FName)统计的则是除了结果集中 ...

  2. JavaScript设计模式-2高级类.

    <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title> ...

  3. svn 被锁,清理恢复过程

    svn 被锁,清理恢复过程 http://stackoverflow.com/questions/18000363/tortoisesvn-wont-allow-me-to-add-any-files ...

  4. hadoop 分布式安装

    一.虚拟机安装centos7需要显示IPv4地址时设置 修改ip addr 中显示ipv4 修改 ONBOOT=no 为 ONBOOT=yes, 同时需要添加HWADDR=00:0c:29:c8:b6 ...

  5. Debian9安装SSH并允许root用户SSH登录

    安装SSH # apt install openssh-server openssh-client 启动SSH服务 # /etc/init.d/ssh start 添加SSH开机启动 # update ...

  6. java实现插入排序算法 附单元测试源码

    插入排序算法 public class InsertSortTest { /** * @param args */ public static void main(String[] args) { i ...

  7. 以安全模式启动firefox

    碰到firefox打开后一直没有响应,解决方法: 以安全模式打开

  8. Linux du查询文件大小

    #查询磁盘当前容量信息 $df -h   #查询当前目录下所有文件的大小 $du -m .   #两种方式查询 仅当前目录下的子文件(文件夹)大小 $du -sh /cloud/*   $du -h ...

  9. jquery 选择唯一值 选择器“”非“用法

    $(document).ready(function () { $("#addwork").hide(); $(".xi").click(function(){ ...

  10. IOS Core Image之一

    项目中要实现高斯模糊的效果,今天看了下Core Image这块的内容, 主要包括CIImage.CIFilter.CIContext.CIDetector(检测).CIFeature(特征)等类. 今 ...