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. 18.async函数

    1.含义 async 函数是什么?一句话,它就是 Generator 函数的语法糖. 前文有一个 Generator 函数,依次读取两个文件. var fs = require('fs'); var ...

  2. Android MediaPlayer 常用方法介绍

    Android MediaPlayer 常用方法介绍 方法:create(Context context, Uri uri) 解释:静态方法,通过Uri创建一个多媒体播放器. 方法:create(Co ...

  3. gcc对open(2)支持重载吗

    在Linux中,如果man -s2 open, 我们看到两种不同的函数原型声明: $ man -s2 open NAME open, creat - open and possibly create ...

  4. ReferenceError: “alert” is not defined

    用Node.js单独运行js文件时,其中定义的alert不可用 alert is not part of JavaScript, it's part of the window object prov ...

  5. [转]Sql Server 分页存储过程

    本文转自: 版权声明:作者:jiankunking 出处:http://blog.csdn.net/jiankunking  本文版权归作者和CSDN共有,欢迎转载,但未经作者同意必须保留此段声明,且 ...

  6. docker部署ELK日志处理

    docker环境下部署的ELK系统,日志处理,保留最近五个小时的日志 dockerlog.sh #!/bin/bash logs=`find /var/lib/docker/containers/ - ...

  7. Web前端性能优化的三个偏方

    首先牢骚几句...这一次性能优化针对的模块,初次开发阶段客户给的时间就非常少,俩月时间跳过设计一边需求分析一边编码,最后干出6000+的代码行.最终结果嘛,呵呵,除开一堆bug不说,性能就是个非常大的 ...

  8. 十二、异步工具Timer

    一.简介 JDK提供一种异步线程工具Timer类,你可以利用这个类做延迟任务.周期性任务等. JDK文档:http://tool.oschina.net/uploads/apidocs/jdk-zh/ ...

  9. vim 编辑器常规操作

    所看视频教程:兄弟连Linux云计算视频教程5.1文本编辑器Vim-5.2 插入命令 a:在光标所在字符后插入; A:在光标所在行尾插入; i:在光标所在字符前插入; I:在光标所在字符行行首插入; ...

  10. ssh 连接慢问题

    连接先看报错: There were 11 failed login attempts since the last successful login. 先前有上百上千失败login,被攻击了,把短时 ...