RBShadowBubble 0.1.2

RBShadowBubble 0.1.2

Maintained by Reza Bina.



  • By
  • rezabina86

RBShadowBubble

CI Status Version License Platform

Customizable bubble with shadow, corner radius and padding.

Screenshot

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

@IBOutlet weak var bubbleView: BubbleView!

override func viewDidLoad() {
    super.viewDidLoad()
    bubbleView.cornerRadius = 5
    bubbleView.padding = 25
    bubbleView.bubbleBackground = UIColor.white
    bubbleView.borderColor = UIColor.black
    bubbleView.shadowColor = UIColor.black
    bubbleView.shadowOpacity = 1.0
    bubbleView.shadowOffset = CGSize(width: 1, height: 1)
}

Requirements

Installation

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

pod 'RBShadowBubble'

Author

rezabina86, [email protected]

License

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