Latest 0.4.5
Homepage https://github.com/dungntm58/RCStickerView
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

  • Xcode 10.
  • Swift 4.0.
  • iOS 9.0 or higher.

Installation

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

Usage

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)
}

Inspiration

RCStickerView is heavily inspired by CHTStickerView.

Author

RobertNguyen, [email protected]

License

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

Latest podspec

{
    "name": "RCStickerView",
    "version": "0.4.5",
    "summary": "Add label, image, other custom view as a sticker view.",
    "description": "Add label, image, other custom view as a sticker view. You can make fun with a lot of sticker views and gestures attached on them as well like flipping, rotating, zooming.",
    "homepage": "https://github.com/dungntm58/RCStickerView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "RobertNguyen": "[email protected]"
    },
    "source": {
        "git": "https://github.com/dungntm58/RCStickerView.git",
        "tag": "0.4.5"
    },
    "platforms": {
        "ios": "9.0"
    },
    "swift_version": "4.0",
    "source_files": "RCStickerView/Classes/**/*"
}

Pin It on Pinterest

Share This