Skip to content

pontus-andersson/BFKit-Swift

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

243 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

BFKit Swift Banner

Build Status Carthage compatible Version Language Platform License


Objective-C Version โ€ข What does it do โ€ข Language support โ€ข Requirements โ€ข Communication โ€ข Contributing โ€ข Installing and Usage โ€ข Documentation โ€ข Changelog โ€ข Demo โ€ข Todo โ€ข Author โ€ข License


Objective-C Version

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!

To better use of the framework I recommend you to use FuzzyAutocomplete Xcode plugin to better find functions while coding.

It also adds some useful method to some classes like:

BFKit:

Foundation:

UIKit:

Language support ๐Ÿ‡ฎ๐Ÿ‡น

  • Brazilian Portuguese (pt-Br)
  • English (en)
  • Indonesian (id)
  • Italian (it)
  • Russian (ru)
  • Simplified Chinese (zh-Hans)
  • Swedish (sv)
  • Traditional Chinese (zh-Hant)
  • Ukrainian (uk)
  • Vietnamese (vi)

Requirements ๐Ÿ“ฑ

  • iOS SDK 7.0 if you copy the Framework files (Source folder)
  • iOS SDK 8.0 if you use it as a Framework
  • Swift 1.2 and Xcode 6.3 or later, for version 1.4.1 or previous
  • Swift 2.0 or 2.1 and Xcode 7.0 or later, for version 1.5.0 or later
  • Swift 2.2 and Xcode 7.3 or later, for version 1.6.1 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 :octocat:

See CONTRIBUTING.md file.

Installing and Usage ๐Ÿ’ป


Swift 1.2, 2.0, 2.1 or 2.2

If you need support for Swift 1.2 use BFKit Swift 1.4.1 or previous.
From 1.5.0 BFKit Swift supports Swift 2.0 and 2.1.
From 1.6.1 BFKit Swift supports Swift 2.2.
More info here: Requirements


iOS 7 or later compatible

Manual

  • 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

iOS 8 or later compatible

Manual

  • 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

Pro version
  • pod 'BFKit-Swift'
  • Import the Framework with import BFKit
  • Enjoy!
Newbie version
  • Create a Podfile in your project directory
  • Write:
    platform :ios, '8.0'
    xcodeproj 'Project.xcodeproj'
    use_frameworks!

    pod 'BFKit-Swift'
  • Change "Project" with your real project name
  • Open Terminal, go to project directory and type: pod install
  • Import the Framework with import BFKit
  • Enjoy!

Carthage

Pro version
  • github "FabrizioBrancati/BFKit-Swift"
  • Import the Framework with import BFKit
  • Enjoy!
Newbie version
  • Create a Cartfile in your project directory
  • Write:
    github "FabrizioBrancati/BFKit-Swift"
  • Open Terminal, go to project directory and type: carthage update

  • Include the created Framework in your project

  • Add Build Phase with the following contents:

        /usr/local/bin/carthage copy-frameworks

    and add the paths to the BFKit framework under Input Files

        $(SRCROOT)/Carthage/Build/iOS/BFKit.framework

    This script works around an App Store submission bug triggered by universal binaries and ensures that necessary bitcode-related files are copied when archiving

  • 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 great tests and add Coveralls badge
  • โž– Add support to watchOS, tvOS and MacOS
  • โž– Add CPU App usage function in NSProcessInfo extension
  • โž– Add Hashing functions (MD5, SHA1, SHA256, SHA512, AES128 & AES256) in String and NSString extension, without using CommonCrypto from Objective-C
  • โž– Create a new DEMO App that shows all the functionalities of BFKit Swift
  • โœ”๏ธ Add Carthage support
  • โœ”๏ธ Add to CocoaPods
  • โœ”๏ธ Create a great documentation

Author :neckbeard:

Fabrizio Brancati

Website
Email

License ๐Ÿ“œ

BFKit-Swift is available under the MIT license. See the LICENSE file for more info.

About

BFKit Swift is a collection of useful classes to develop Apps faster

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Swift 99.5%
  • Other 0.5%