Latest 1.0.0
Homepage https://github.com/satishbabariya/HexPatternView
License MIT
Platforms ios 9.0
Authors

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, [email protected]

License

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

Latest podspec

{
    "name": "HexPatternView",
    "version": "1.0.0",
    "summary": "Create Beautiful hex design View.",
    "homepage": "https://github.com/satishbabariya/HexPatternView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Satish Babariya": "[email protected]"
    },
    "source": {
        "git": "https://github.com/satishbabariya/HexPatternView.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "HexPatternView/Classes/**/*",
    "ios": {
        "frameworks": [
            "UIKit",
            "Foundation"
        ]
    },
    "pushed_with_swift_version": "4.0"
}

Pin It on Pinterest

Share This