###Objective-C If you are looking for Objective-C version check it out here: BFKit
โ
What does it do 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
๐ฎ๐น
Language support - English (en)
- Indonesian (id)
- Italian (it)
- Russian (ru)
- Simplified Chinese (zh-Hans)
- Traditional Chinese (zh-Hant)
- Ukrainian (uk)
- Vietnamese (vi)
๐ฑ
Requirements - 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
๐
Communication - 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.
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.
Please make sure to follow my general coding style for new features!
๐ป
Installing and Usage ###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!
๐ฏ
Documentation ###CocoaDocs - 100% Documented
๐
Changelog To see what has changed in recent version of BFKit-Swift, see the CHANGELOG
๐ง
Demo Open and run the BFKitDemo project in Xcode and see BFKit in action!
โ๏ธ
Todo โ 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
Author
Fabrizio Brancati
๐
License BFKit-Swift is available under the MIT license. See the LICENSE file for more info.