[翻譯] BFKit

BFKitios

 

BFKit is a collection of useful classes to develop Apps faster.git

BFKit是一個有用的工具集合,幫助你快速開發。github

 

Installing and Usagexcode

Pod ruby

Pod安裝bash

  • 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!

Manualide

手動安裝工具

  • 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 supportui

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!

相關文章
相關標籤/搜索