###Objective-C If you are looking for Objective-C version check it out here: BFKit
BFKit is a collection of useful classes to develop Apps faster.
For example you can use every iOS font with just an enum!
It also adds some useful method to some classes like:
###BFKit:
- BFApp
- BFButton
- BFDataStructures (List - Queue - Stack)
- BFLog
- BFPassword
- BFSystemSound
- BFTouchID (iOS 8 or later)
###Foundation:
- Array
- Dictionary
- NSArray
- NSDate
- NSDictionary
- NSFileManager
- NSMutableArray
- NSMutableDictionary
- NSNumber
- NSObject
- NSProcessInfo
- NSString
- NSThread
- String
###UIKit:
- UIBarButtonItem
- UIButton
- UIColor
- UIDevice
- UIFont
- UIImage
- UIImageView
- UILabel
- UINavigationBar
- UIScreen
- UIScrollView
- UITableView
- UITextField
- UITextView
- UIToolbar
- UIView
- UIWebView
- UIWindow
- English (en)
- Indonesian (id)
- Italian (it)
- Russian (ru)
- Simplified Chinese (zh-Hans)
- Traditional Chinese (zh-Hant)
- Ukrainian (uk)
- Vietnamese (vi)
- iOS SDK 7.0 or later (iOS SDK 8.0 if you use it as a Framework)
- Swift 1.2 and Xcode 6.3 or later
- If you need help, use Stack Overflow.
- If you found a bug, open an issue.
- If you have a feature request, open an issue.
- If you want to contribute, see Contributing section.
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.
Please make sure to follow my general coding style for new features!
###Manual ####iOS 7 (or later) compatible
- Copy the Source folder to the project
- Enjoy!
- N.B.: You will no longer need to import BFKit since you are not actually loading a framework
###Warning
The following installing methods doesn't allows to declare Array
and Dictionary
extensions as public due to a bug in the compiler
Read more
####iOS 9 From iOS 9 this bug will be fixed, and once it'll be released I'll update BFKit-Swift to take advantage of this! ;)
####iOS 8 (or later) compatible
- Open the BFKit folder and build the Framework from the project
- Import BFKit.framework into your project
- Import the Framework with
import BFKit
- Enjoy!
###CocoaPods (iOS 8 or later compatible) ####Newbie version
- Create a Podfile in your project directory
- Write:
platform :ios, '8.0'
xcodeproj 'Project.xcodeproj'
use_frameworks!
pod 'BFKit-Swift'
- Obviously change "Project" with your real project name
- Open Terminal, go to project directory and type:
pod install
- Import the Framework with
import BFKit
- Enjoy!
####Pro version
pod 'BFKit-Swift'
- Import the Framework with
import BFKit
- Enjoy!
###Carthage (iOS 8 or later compatible)
github "FabrizioBrancati/BFKit-Swift"
- Open Terminal, go to project directory and type:
carthage update
- Import the Framework with
import BFKit
- Enjoy!
###CocoaDocs - 100% Documented
To see what has changed in recent version of BFKit-Swift, see the CHANGELOG
Open and run the BFKitDemo project in Xcode and see BFKit in action!
- ➖ Create an extension for every UIKit element
- ➖ Create tests
- ➖ Add CPU App usage function in NSProcessInfo extension
- ➖ Add Hashing functions (MD5, SHA1, SHA256, SHA512) in String and NSString extension
- ✔️ Add Carthage support
- ✔️ Add to CocoaPods
- ✔️ Make it as a Framework
- ✔️ Create a great documentation
- ✔️ Create a DEMO App
Fabrizio Brancati
BFKit-Swift is available under the MIT license. See the LICENSE file for more info.