Floaty

screenshot of Floaty

:heart: Floating Action Button for iOS

Overview

FloatySwift is a simple floating action button for iOS. It provides a convenient way to add a floating action button to your app's user interface. The library was previously named KCFloatingActionButton but was changed to comply with the Swift naming convention.

Features

  • Storyboard support: FloatySwift can be added to your app's storyboard.
  • Dependent on UIWindow and UIViewController: FloatySwift relies on these classes for its functionality.
  • Use icon: You can use an icon as the content of the floating action button.
  • Use handler: FloatySwift allows you to specify a handler to be executed when the button is tapped.
  • RTL Support: FloatySwift supports right-to-left languages by providing a rtlMode property.
  • Sticky: FloatySwift can be set to stay visible on the screen at all times.
  • Friendly Tap: FloatySwift enables friendly tap by allowing the button to be tapped until the right and right bottom of the screen.

CocoaPods

To install FloatySwift using CocoaPods, add the following line to your Podfile:

pod 'FloatySwift'

Then, run pod install to install the library.

Carthage

To install FloatySwift using Carthage, add the following line to your Cartfile:

github "FloatySwift/FloatySwift"

Then, run carthage update to build the framework and drag the built FloatySwift.framework into your Xcode project.

Swift Package Manager

FloatySwift can also be installed using the Swift Package Manager. Simply add the following dependency to your Package.swift file:

dependencies: [
    .package(url: "https://github.com/FloatySwift/FloatySwift.git", .upToNextMajor(from: "5.0.0"))
]

After adding the dependency, run swift package resolve to fetch the package.

Manually

To install FloatySwift manually, simply drag the Floaty/*.swift file into your project.

Summary

FloatySwift is a simple and easy-to-use library for adding a floating action button to iOS apps. It provides a range of features, such as storyboard support, RTL language support, and the ability to customize the button's appearance and behavior. The installation process is straightforward, with options for using CocoaPods, Carthage, or the Swift Package Manager. Overall, FloatySwift is a valuable tool for enhancing the user experience of your iOS app.

ui-kit
UI Kits & Components

A UI kit provides developers with a set of reusable components that can be easily integrated into a website or application. These components are pre-designed with consistent styling and functionality, allowing developers to save time and effort in the design and development process. UI kits can be either custom-built or third-party, and often include components for buttons, forms, typography, icons, and more.