Swiftpack.co -  sqrline/HoneyKit as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
HoneyKit is extensions for solve common tasks in iOS development
.package(url: "https://github.com/sqrline/HoneyKit.git", from: "1.1.0")

🍯 HoneyKit

HoneyKit is extensions for solve common tasks in iOS development

🛠 Install


For integrate HoneyKit into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '11.0'

target '<Your Target Name>' do
pod 'HoneyKit', '~> 1.1.0'

Then, run the following terminal command in project directory:

$ pod install

Swift Package Manager

For use The Swift Package Manager you need add HoneyKit dependency to Package.swift file:

import PackageDescription

let package = Package(
  name: "PROJECT_NAME",
  targets: [],
  dependencies: [
      .package(url: "https://github.com/sqrline/HoneyKit.git", from: "1.1.0")

Then add HoneyKit to your targets dependencies:

  name: "TARGET_NAME",
  dependencies: [

And run terminal command:

swift package update

⚡️ List of extensions


  • IsNotEmpty. Indicating whether the collection is not empty.
  • SafeSubscript. Returns the element at the specified index if it is within bounds, otherwise nil.
  • HTML. Converts html to an NSAttributedString with system iOS font.
  • Localized. Returns an localized version of the string.


  • DayStep. Returns date after adding step to exists date based on direction.
  • DaysMonth. Returns start/end day of month.
  • DaysWeek. Returns start/end day of week.


  • Badge. Shows notification badge on bar button.
  • LoadingIndicator. Shows/hides activity indicator in button for indicate loading process.
  • SetTitle. Sets title with animation.
  • RegisterCell. Registers a cell by class or nib for use in creating new collection cells.
  • ReusableCell. Returns a reusable collection view cell object by class with index path.
  • Hex. Conveniece init color from hex string.
  • ActivityIndicator. Adds/hides container with activity indicator in view.
  • AddSubview. Adds view with all sides constraints for filling into superview.
  • HideKeyboard. Hides keyboard if tap on current view's area.
  • InitFromXib. Instantiates view from xib.
  • RemoveSubview. Removes all subviews from current view.
  • Shadow. Drops shadow from the current view.
  • RegisterCell. Registers a cell by class or nib for use in creating new table cells.
  • ReusableCell. Returns a reusable table view cell object by class.
  • Child. Handles (adds, removes and switches) child of the current view controller.

🖥 Contributing

Your contributions are always welcome! For add’s new extension submit a pull request. See CONTRIBUTING.md for guidelines.

🖖 Authors

Vladimir Pchelyakov

Aleksey Pleshkov

©️ License

HoneyKit is released under the MIT license. In short, it's royalty-free but you must keep the copyright notice in your code or software distribution.


Stars: 3
Last commit: 4 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

Fix Bugs
4 weeks ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API