hex

HexPatternView

Create Beautiful hex design View.

Showing:

Popularity

Downloads/wk

0

GitHub Stars

42

Maintenance

Last Commit

1yr ago

Contributors

3

Package

Dependencies

0

License

MIT

Categories

Readme

HexPatternView

CI Status Version License Platform

Example

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

Requirements

Installation

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

pod 'HexPatternView'

Use


    let patternView = HexPatternView()
    view.addSubview(patternView)
    
    patternView.translatesAutoresizingMaskIntoConstraints = false
    patternView.topAnchor.constraint(equalTo: view.topAnchor).isActive = true
    patternView.bottomAnchor.constraint(equalTo: view.bottomAnchor).isActive = true
    patternView.leadingAnchor.constraint(equalTo: view.leadingAnchor).isActive = true
    patternView.trailingAnchor.constraint(equalTo: view.trailingAnchor).isActive = true
    
    view.backgroundColor = #colorLiteral(red: 0, green: 0.7022017837, blue: 0.9288000464, alpha: 1)
    patternView.setRhombusPattern()
    patternView.color = UIColor.white
    patternView.alpha = 0.1
    patternView.cellWidthMax = 70
    

Screenshot of HexPatternView

Author

Satish Babariya, satish.babariya@gmail.com

License

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

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