chriszielinski / Fab

Licence: other
🛍️ A Floating Action Button for macOS. Inspired by Material Design, and written in Swift.

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language
objective c
16641 projects - #2 most used programming language

Projects that are alternatives of or similar to Fab

Fabulousfilter
Android library to animate Floating Action Button to Bottom Sheet Dialog and vice-versa
Stars: ✭ 2,477 (+10220.83%)
Mutual labels:  floatingactionbutton, fab, floating-action-button
Dogetv macos
🎬 dogeTV for macOS
Stars: ✭ 92 (+283.33%)
Mutual labels:  osx, cocoa
LavaFab
💧 Android floating action button menu with "lava" animation
Stars: ✭ 51 (+112.5%)
Mutual labels:  fab, floating-action-button
Platypus
Create native Mac applications from command line scripts.
Stars: ✭ 1,893 (+7787.5%)
Mutual labels:  osx, cocoa
Enlighten
💡 An integrated spotlight-based onboarding and help library for macOS, written in Swift.
Stars: ✭ 44 (+83.33%)
Mutual labels:  osx, cocoa
Macqq
mac版QQ,swift,macOS,仿QQ mac端
Stars: ✭ 72 (+200%)
Mutual labels:  osx, cocoa
Macassistant
Google Assistant for macOS!
Stars: ✭ 1,564 (+6416.67%)
Mutual labels:  osx, cocoa
Strongbox
A KeePass/Password Safe Client for iOS and OS X
Stars: ✭ 586 (+2341.67%)
Mutual labels:  osx, cocoa
Cocoa Rest Client
A free, native Apple macOS app for testing HTTP/REST endpoints
Stars: ✭ 2,257 (+9304.17%)
Mutual labels:  osx, cocoa
Pywebview
Build GUI for your Python program with JavaScript, HTML, and CSS
Stars: ✭ 2,649 (+10937.5%)
Mutual labels:  osx, cocoa
Criollo
A powerful Cocoa web framework and HTTP server for macOS, iOS and tvOS.
Stars: ✭ 229 (+854.17%)
Mutual labels:  osx, cocoa
Nswindowstyles
A showcase of the many different styles of windows possible with NSWindow on macOS
Stars: ✭ 801 (+3237.5%)
Mutual labels:  osx, cocoa
Xit
Mac OS X Git GUI
Stars: ✭ 700 (+2816.67%)
Mutual labels:  osx, cocoa
Subethaedit
General purpose plain text editor for macOS. Widely known for its live collaboration feature.
Stars: ✭ 1,183 (+4829.17%)
Mutual labels:  osx, cocoa
Orsserialport
Serial port library for Objective-C and Swift macOS apps
Stars: ✭ 609 (+2437.5%)
Mutual labels:  osx, cocoa
Sbplayerclient
支持全格式的mac版视频播放器
Stars: ✭ 110 (+358.33%)
Mutual labels:  osx, cocoa
flutter fab dialer
Floating action button dialer
Stars: ✭ 66 (+175%)
Mutual labels:  floatingactionbutton, fab
Swift-IOS-ANE
FlashRuntimeExtensions.swift. Example Air Native Extension written in Swift 5 for iOS, macOS and tvOS
Stars: ✭ 56 (+133.33%)
Mutual labels:  osx, swift5
Stprivilegedtask
An NSTask-like wrapper around the macOS Security Framework's AEWP function to run shell commands with root privileges in Objective-C / Cocoa.
Stars: ✭ 335 (+1295.83%)
Mutual labels:  osx, cocoa
Usbdeviceswift
wrapper for IOKit.usb and IOKit.hid written on pure Swift that allows you convenient work with USB devices
Stars: ✭ 156 (+550%)
Mutual labels:  osx, cocoa

Fab. 🛍️

Platform Pod Version Carthage compatible Swift Version GitHub license


A Floating Action Button for macOS. Inspired by Material Design, and written in Swift.
Based on Lourenço Marinho's ActionButton for UIKit.


Features

  • Dark Mode

  • + more.

Installation

Fab is available for installation using CocoaPods or Carthage.

CocoaPods

pod "Fab"

Carthage

github "chriszielinski/Fab"

Requirements

  • macOS 10.12+

Usage

Create FabItems

let shareItem = FabItem(label: "Share", shareImage)
shareItem.action = { item in
	print("Selected \"Share\"")
}

let emailItem = FabItem(label: "Email", emoji: "✉️") { item in
	print("Selected \"Email\"")
}

Create Fab with items.

let fab = Fab(attachedTo: aView, items: [shareItem, emailItem])

Documentation

There are a lot of properties you can dabble with. You can check out the docs here. Documentation is generated with jazzy and hosted on GitHub-Pages.

Try Me

Includes a Playground and Demo.app.

// ToDo:

  • Tests.

// CouldDo:

  • Use CALayer.
  • Internal refactoring.

Acknowledgements

Contributors

License

Fab is released under the MIT license. See LICENSE for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].