To run the example project, clone the repo, and run pod install
from the Example directory first.
RCStickerView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'RCStickerView'
Then, run the following command:
$ pod install
See the Example
project for more details.
override func viewDidLoad() {
super.viewDidLoad()
let testView = UIView(frame: CGRect(x: 0, y: 0, width: 150, height: 100))
testView.backgroundColor = .red
let stickerView = RCStickerView(contentView: testView)
stickerView.center = self.view.center
stickerView.delegate = self
stickerView.outlineBorderColor = .blue
stickerView.set(image: UIImage(named: "Close"), for: .close)
stickerView.set(image: UIImage(named: "Rotate"), for: .rotate)
stickerView.set(image: UIImage(named: "Flip"), for: .flipX)
stickerView.isEnableFlipY = false
stickerView.handlerSize = 40
self.view.addSubview(stickerView)
}
RCStickerView is heavily inspired by CHTStickerView.
RobertNguyen, minhdung.uet.work@gmail.com
RCStickerView is available under the MIT license. See the LICENSE file for more info.
link |
Stars: 12 |
Last commit: 31 weeks ago |
Fix several UI bugs:
Actually, I have pushed version 0.4.1 to 0.4.4 before. However, they are all unstable versions because I was working too carelessly. Therefore I decided to delete them from the release tree.
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics