[翻译] BFKit

BFKit是一个实用的工具集合,旨在帮助开发者更快地构建iOS应用。它为多种基础类提供了额外的方法,并支持多种语言。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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!

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值