Latest 1.0.6
Homepage https://github.com/malt03/BugImageCreator
License MIT
Platforms ios 8.0
Authors

Platform
Language
CocoaPods
Carthage compatible
License

Screenshot

Example

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

Usage

via code

let image = BugImageCreator.getCacheOrCreate(size: 50, lineWidth: 1, color: .blackColor())

or

public override func draw(_ rect: CGRect) {
  super.draw(rect)
  BugImageCreator.drawToCurrentContext(size: rect.size, center: CGPoint(x: rect.width / 2, y: rect.height / 2), lineWidth: 1, color: .blackColor())
}

via Interface Builder

ib

Installation

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

pod "BugImageCreator"

Author

Koji Murata, [email protected]

License

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

Latest podspec

{
    "name": "BugImageCreator",
    "version": "1.0.6",
    "summary": "Easy to create a bug image.",
    "description": "This pod is a pod to create a bug image.nIt is useful for creating a debugging library.",
    "homepage": "https://github.com/malt03/BugImageCreator",
    "screenshots": "https://raw.githubusercontent.com/malt03/BugImageCreator/master/Screenshot.png",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Koji Murata": "[email protected]"
    },
    "source": {
        "git": "https://github.com/malt03/BugImageCreator.git",
        "tag": "1.0.6"
    },
    "platforms": {
        "ios": "8.0"
    },
    "swift_version": "5.0",
    "source_files": "BugImageCreator/Classes/**/*"
}

Pin It on Pinterest

Share This