SwiftStickerView 2.0.6

SwiftStickerView 2.0.6

sachithamh维护。



  • sachithamh

SwiftStickerView

CI Status Version License Platform

示例

要运行示例项目,请克隆仓库,然后首先从示例目录中运行pod install

要求

安装

SwiftStickerView可通过CocoaPods获得。要安装它,只需将以下行添加到Podfile中。

pod 'SwiftStickerView'

代码很简单,首先使用以下方法导入pod库:

import SwiftStickerView

然后是代码实现示例

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)

如果您认为您在here获得的信息值得一些钱,并且愿意为此付费,请通过paypal发送任何金额。

Paypal 二维码

作者

从sachithamh, [email protected]

灵感和想法来自 injap2017/StickerView

许可协议

SwiftStickerView 可在 MIT 许可证下使用。更多信息请参见 LICENSE 文件。