To run the example project, clone the repo, and run pod install
from the Example directory first.
SwiftStickerView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'SwiftStickerView'
code is simple first import the pod lib using
import SwiftStickerView
Then code impimentaion example
let configuration = Configuration()
configuration.borderWidth = 2
configuration.buttonSize = CGSize(width: 16, height: 16)
let testView = UIImageView(frame: CGRect.init(x: 0, y: 0, width: 150, height: 100))
testView.backgroundColor = UIColor.red
testView.image = UIImage(named: "image")
let stickerView = StickerView.init(contentView: testView, configuration: configuration)
stickerView.center = self.view.center
self.view.addSubview(stickerView)
If you think that any information you obtained here is worth of some money and are willing to pay for it, feel free to send any amount through paypal.
Paypal | QRCode |
---|---|
sachithamh, sachithamh@gmail.com
influnce and idea came from injap2017/StickerView
SwiftStickerView is available under the MIT license. See the LICENSE file for more info.