LiquidFlotingActionButton
  • November 8, 2023

(https://github.com/Carthage/Carthage)

LiquidFloatingActionButton is floating action button component of material design in liquid state, inspired by Material In a Liquid State. This is also spinner loader components in liquid state.

Features


  •  liquid animation
  •  Easily customizable
  •  Objective-C compatible
  •  Swift 5.0

You can play a demo with appetize.io

Usage


You just need implement LiquidFloatingActionButtonDataSource and LiquidFloatingActionButtonDelegate similar to well-known UIKit design.

let floatingActionButton = LiquidFloatingActionButton(frame: floatingFrame)
floatingActionButton.dataSource = self
floatingActionButton.delegate = self

LiquidFlotingActionButtonDataSource

func numberOfCells(liquidFloatingActionButton: LiquidFloatingActionButton) -> Int
func cellForIndex(index: Int) -> LiquidFloatingCell

LiquidFlotingActionButtonDelegate

optional func liquidFloatingActionButton(liquidFloatingActionButton: LiquidFloatingActionButton, didSelectItemAtIndex index: Int)

Easily customizable


Installtion


LiquidFloatingActionButton is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod “LiquidFloatingActionButton”

or, if you use Carthage, add the following line to your Carthage file.

github “yoavlt/LiquidFloatingActionButton”

GitHub


View Github

#carthage #cocoapods #datasource #delegate #materialdesign #objectivec #swift #uicomponents #uikit
YOU MIGHT ALSO LIKE...
Popup View

Floaters Toasts Popups Sheets

Drops 💧

A µFramework for showing alerts like the one used when copying from pasteboard or connecting Apple pencil.

MarqueeText

A SwiftUI Marquee or "scrolling text" effect found in Apple native apps. For when one line isn't enough, but two ...

TextBuilder

Introduction Text composition in SwiftUI can often be cumbersome, especially when there's logic affecting its format and content. TextBuilder leverages the ...

TextView

Download File -> Swift Packages -> Add Package Dependency... Select your project Enter https://github.com/kenmueller/TextView for the package repository URL Select Branch: master Click Finish ...