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

Fertiggestellt Veröffentlicht vor 1 Jahr Bezahlt bei Lieferung
Fertiggestellt Bezahlt bei Lieferung

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 Entwicklung

Projekt-ID: #36569356

Über das Projekt

5 Vorschläge Remote Projekt Aktiv vor 1 Jahr

Vergeben an:

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 in 1 Tag
(115 Bewertungen)
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 Mehr

$30 USD in 1 Tag
(5 Bewertungen)
4.4