Skip to content

Instantly share code, notes, and snippets.

View buhussain's full-sized avatar

waleed alattar buhussain

View GitHub Profile
@buhussain
buhussain / ViewController.swift
Created September 7, 2018 07:44
hi am trying to create a function that would take an video URL and return the video but chopped in pieces 5 sec a piece
import UIKit
import AVFoundation
import AssetsLibrary
import MobileCoreServices
import Photos
class ViewController: UIViewController, UIImagePickerControllerDelegate, UINavigationControllerDelegate{