Latest 0.4.6
Homepage https://github.com/daisukenagata/RARFSlider
License MIT
Platforms ios 12.0
Authors

RARFSlider

Version
License
Platform

operation

It is a function to edit Video.

  • picButton opens a video album.

  • Button saves the edited video.

  • Merge combines the first and second edit videos.

  • Inside Trim is trims the selected inside.

  • Show or hide the UI by tapping the preview screen

version 0.4.5

You can set it to your favorite design.

    @IBOutlet public weak var rARFSlider: UISlider?

    @IBOutlet public weak var rARFTimeLabel: UILabel?
    @IBOutlet public weak var rARFDurationLabel: UILabel?

    @IBOutlet public weak var rARFPicBt: UIButton?
    @IBOutlet public weak var rARFTrimButton: UIButton?
    @IBOutlet public weak var rARFMergeButton: UIButton?
    @IBOutlet public weak var rARFInsideTrimButton: UIButton?

    @IBOutlet public weak var rARFPreView: RARFPreView?
    @IBOutlet public weak var rARFLargePreView: UIImageView?
    @IBOutlet public weak var rARFThumnaiIImageView: UIImageView?

Example

RARFSliderRARFSliderRARFSlider

Requirements

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

Installation

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

pod 'RARFSlider'

Code

import UIKit
import RARFSlider

class ViewController: RARFPickerViewController {

    @IBOutlet private var sliderView: RARFSliderView!

    override func viewDidLoad() {
        super.viewDidLoad()

        sliderView.imagePick(vc: self)
    }

    override func viewDidAppear(_ animated: Bool) {
        super.viewDidAppear(true)

        guard let url = url else  { return }

        sliderView.removeFromSuperview()
        sliderView = RARFSliderView(frame: CGRect(x: 0, y: 0, width: view.frame.width, height: view.frame.height))
        view.addSubview(sliderView)

        sliderView.rARFVc = self
        //DESIGNSET
        sliderView.rARFOpacity = 0.7
        sliderView.rARFSideWhide = 8
        sliderView.rARFBorderWidth = 1
        sliderView.rARFTopDownWhide = 4
        sliderView.rARFBorderColor = .white
        sliderView.rARFSetVideoModel.setURL(url: url, sliderView: sliderView, height: 100, heightY: 100)
    }
}

Author

daisukenagata, [email protected]

License

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

Latest podspec

{
    "name": "RARFSlider",
    "version": "0.4.6",
    "summary": "RARFSlider is a video editing function.",
    "homepage": "https://github.com/daisukenagata/RARFSlider",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "daisukenagata": "[email protected]"
    },
    "source": {
        "git": "https://github.com/daisukenagata/RARFSlider.git",
        "tag": "0.4.6"
    },
    "social_media_url": "https://twitter.com/dbank0208",
    "platforms": {
        "ios": "12.0"
    },
    "source_files": "RARFSlider/Classes/**/*"
}

Pin It on Pinterest

Share This