Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Latest commit fb6a8b2 Apr 18, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Example
RARFSlider Pod Version 0.3.0 Apr 17, 2019
.gitignore Initial commit Apr 8, 2019
.swift-version add Version 0.1.1 Apr 8, 2019
.travis.yml
LICENSE Initial commit Apr 8, 2019
RARFSlider.podspec Pod Version 0.3.0 Apr 17, 2019
README.md Update README.md Apr 18, 2019
_Pods.xcodeproj Initial commit Apr 8, 2019

README.md

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.

Example

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

// I have set the picker in the delegate.
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: 100, width: view.frame.width, height: view.frame.height))
        view.addSubview(sliderView)

        sliderView.vc = self
        //DESIGNSET
        sliderView.borderWidth = 1; sliderView.borderColor = .red; sliderView.topDownWhide = 4; sliderView.sideWhide = 8; sliderView.opacity = 0.7
        sliderView.setVideoModel.setURL(url: url, sliderView: sliderView, heightY: 0, height: 100)
    }
}

Author

daisukenagata, dbank0208@gmail.com

License

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

You can’t perform that action at this time.