i have a swift class that share the files i want to updates it to openWIth function

Përfunduar Postuar 1 vit mё parё Paguhet në dorëzim
Përfunduar Paguhet në dorëzim

I am looking for a freelancer who can update my existing Swift class to include the openWIth function for sharing files. The ideal candidate should have experience with Swift and be familiar with the openWIth function. The project involves the following:

- Updating the Swift class to include the openWIth function

- Testing the class to ensure that it works correctly

Here is the class i want you to edit :

import Foundation

import UIKit

@objc public class NativeShare : NSObject {

@objc public static let shared = NativeShare()

@objc public func OpenFile(path:String, message:String , vc:UIViewController) {

//i call this function so i want it to open default iphone OpenWith Dialog

}

@objc public func ShareText(text:String, vc:UIViewController) {

print("Shard text is : " + text)

let textToShare = [ text ]

let activityViewController = UIActivityViewController(activityItems: textToShare, applicationActivities: nil)

[login to view URL] = [login to view URL] // so that iPads won't crash

[login to view URL](activityViewController, animated: true, completion: nil)

}

@objc public func ShareFile(paths:String, message:String , vc:UIViewController) {

//. print("UNITY>> IOS Image path is: " + pathBigString)

var urls = [Any]()

let pathsList = [login to view URL](separatedBy: "<smile123>");

for i in 0..<[login to view URL] {

let url = [login to view URL](withPath: pathsList[i])

// print("UNITY>> swift url : " )

// print(url)

[login to view URL](url)

}

let activityViewController = UIActivityViewController(activityItems: urls , applicationActivities: nil)

[login to view URL] = [login to view URL] // so that iPads won't crash

[login to view URL] {

[login to view URL](activityViewController, animated: true, completion: nil)

}

}

}

If you think you are the right candidate for the job, please apply with your relevant experience and portfolio.

iPhone Objective C Swift iPad Mobile App Development

ID Projekti: #36569356

Rreth projektit

5 propozimet Projekti në distancë Aktiv 1 vit mё parё

Është zgjedhur fitues:

Jean9402

Hello. I am interested in your project. I can modify its class in Swift IOS. I have more than 6 years of experience in web and mobile development. I await your prompt response. Thank you.

$20 USD për 1 ditë
(115 Përshtypje)
6.4
iOSDevDipesh

Hello I am an iOS swift developer with 2+ years of experience. I have read your proposal I will check file based on requirements then we will discuss more about in chat. Expertise in: ===== Swift | UIKit | Storyboard Më shumë

$30 USD për 1 ditë
(5 Përshtypje)
4.4