dbc

DBCameraButton

Customizable, IB_DESIGNABLE, iOS style camera button.

Showing:

Popularity

Downloads/wk

0

GitHub Stars

42

Maintenance

Last Commit

4yrs ago

Contributors

2

Package

Dependencies

0

License

Apache-2.0

Categories

Readme

DBCameraButton

podver podver podver

Customizable, IB_DESIGNABLE, iOS style camera button.

image

Installation

CocoaPods

pod 'DBCameraButton'

If you have IB Designables render error add use_frameworks! to your pod file. image

Manual

Copy DBCameraButton.h and DBCameraButton.m from Classes directory to your project.

Usage

Create DBCameraButton button (subclass of UIButton) without title in storyboard or programmatically. No additional configuration needed.

Properties

CGFloat animationDuration - duration of animation
BOOL isRecording - if YES display "stop" square, else display "capture" circle
UIColor *circleColor - color of "capture" circle
UIColor *squareColor - color of "stop" square
UIColor *outerRingColor - color of outer ring
UIColor *disabledColor - color in disabled state
CGFloat outerRingWidth - width of outer ring
CGFloat outerRingSpacing - space between outer ring and inner shape
CGFloat squareCornerRadius - corner radius of "stop" square
BOOL autoStateChange - change state when button pressed. Default YES. Set NO to manual state change.
CGFloat margin - margin to rect bounds.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial