Classes

The following classes are available globally.

  • A view to preview a video inside an AVPlayer, with a scroll view to be able to select a specific area of the video. Simply set the asset property to load you video inside the view, and use the getImageCropFrame method to retrieve the selected frame of the video.

    See more

    Declaration

    Swift

    public class VKVideoCropView : UIView
  • Declaration

    Swift

    public class VKRearrangableStackView : UIStackView, UIGestureRecognizerDelegate
  • Declaration

    Swift

    public class VKRearrangeView : UIView
    extension VKRearrangeView: VKClipViewDelegate
    extension VKRearrangeView: VKRearrangableStackViewDelegate
  • A view to select a specific time range of a video. It consists of an asset preview with thumbnails inside a scroll view, two handles on the side to select the beginning and the end of the range, and a position bar to synchronize the control with a video preview, typically with an AVPlayer. Load the video by setting the asset property. Access the startTime and endTime of the view to get the selected time

    See more

    Declaration

    Swift

    @IBDesignable
    public class VKTrimmerView : VKAssetTimeSelector
  • Declaration

    Swift

    public class VKVideoTrimmer : VKTrimmerProtocol
  • A generic class to display an asset into a scroll view with thumbnail images, and make the equivalence between a time in

    See more

    Declaration

    Swift

    public class VKAssetTimeSelector : UIView, UIScrollViewDelegate
  • Declaration

    Swift

    public class VKClipView : UIButton

Views

Controls

  • Horizontal picker view. This is just a subclass of UIView, contains a UICollectionView.

    See more

    Declaration

    Swift

    public class VKHorizontalPicker : UIView, UICollectionViewDataSource, UICollectionViewDelegateFlowLayout, VKCollectionViewLayoutDelegate
  • Declaration

    Swift

    open class VKImagePicker : NSObject
    extension VKImagePicker: UIImagePickerControllerDelegate
    extension VKImagePicker: UINavigationControllerDelegate
  • Declaration

    Swift

    @objc
    public class VKRecordButton : UIControl

Views

Recording

  • VKRecorder, Video Capturing

    See more

    Declaration

    Swift

    public class VKRecorder : NSObject
    extension VKRecorder: AVCaptureVideoDataOutputSampleBufferDelegate, AVCaptureAudioDataOutputSampleBufferDelegate
    extension VKRecorder: AVCaptureFileOutputRecordingDelegate
    extension VKRecorder: AVCapturePhotoCaptureDelegate
    extension VKRecorder: AVCaptureMetadataOutputObjectsDelegate
  • VKRecorderBufferRenderer, provides the ability to render/record SceneKit frames

    See more

    Declaration

    Swift

    @available(iOS 11.0, *)
    public class VKRecorderBufferRenderer
  • VKRecorderClip, an object for managing a single media clip

    See more

    Declaration

    Swift

    @objc
    public class VKRecorderClip : NSObject, VKRecorderClipProtocol

Configuration

Recording

View Controllers