Skip to content

Instantly share code, notes, and snippets.

View thepearl's full-sized avatar
💭
I may be slow to respond.

Ghazi Tozri thepearl

💭
I may be slow to respond.
View GitHub Profile
@Catherine-K-George
Catherine-K-George / AWSS3Uploader.swift
Last active August 6, 2023 08:47
File upload to AWS S3 with pre-signed URL iOS/Swift 5
import AWSS3
class AWSS3Uploader {
/// Creates a upload request for uploading the specified file to a presigned remote URL
///
/// - Parameters:
/// - fileURL: The URL of the file to upload.
/// - remoteURL: The presigned URL
/// - completion: The completion handler to call when the upload request is complete.