Latest 1.0.1
Homepage https://github.com/trueSuperior/DSFloatingButton
License MIT
Platforms ios 8.0
Authors

Carthage compatible
CI Status
Version
License
Platform

Easy to create diffuse shadow effect buttons.
demo

Installation

CocoaPods

pod 'DSFloatingButton'

Charthage

github "trueSuperior/DSFloatingButton"

Manual

Add DSFloatingButotn.swift to your project.

Usage

Interface Builder

attr
Simply add a UIButton, and in the Identity Inspector change the class and module to DSFloatingButton.

attr
You can change the appearance in the Interface Builder.

Programmatically

// Easy to create programmatically.
let button = DSFloatingButton(frame: CGRect(x: 0, y: 0, width: 100, height: 40))
button.backgroundColor = #colorLiteral(red: 1, green: 0.645, blue: 0, alpha: 1)
button.setTitle("Button", for: [])
stackView.addArrangedSubview(button)

// If you want to know more detail see example.

Author

UMA, [email protected]

License

DSFloatingButton is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "DSFloatingButton",
    "version": "1.0.1",
    "summary": "Easy to create diffuse shadow effect button for iOS.",
    "swift_version": "4.2.1",
    "homepage": "https://github.com/trueSuperior/DSFloatingButton",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "UMA": "[email protected]"
    },
    "source": {
        "git": "https://github.com/trueSuperior/DSFloatingButton.git",
        "tag": "1.0.1"
    },
    "social_media_url": "https://twitter.com/trueSuperior",
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "DSFloatingButton/Classes/**/*"
}

Pin It on Pinterest

Share This